make file interface and rawfile variables private

This commit is contained in:
Bechir Braham 2024-04-11 17:42:45 +02:00
parent abf364765c
commit 04a2272937
No known key found for this signature in database
GPG Key ID: 7F511B55FD8E9671
2 changed files with 6 additions and 5 deletions

View File

@ -162,7 +162,7 @@ class FileInterface {
};
public:
protected:
std::string m_mode;
std::filesystem::path m_fname;
std::filesystem::path m_base_path;

View File

@ -112,7 +112,7 @@ class RawFile : public FileInterface {
/**
* @brief parse the file name to get the extension, base name and index
*/
*/
void parse_fname();
/**
@ -122,12 +122,12 @@ class RawFile : public FileInterface {
/**
* @brief parse the metadata of a .raw file
*/
*/
void parse_raw_metadata();
/**
* @brief parse the metadata of a .json file
*/
*/
void parse_json_metadata();
/**
@ -144,9 +144,10 @@ class RawFile : public FileInterface {
/**
* @brief open the subfiles
*/
*/
void open_subfiles();
private:
size_t n_subfiles;
size_t n_subfile_parts;
std::vector<std::vector<SubFile *>> subfiles;