NREB_File.hpp
Go to the documentation of this file.
1 
10  #include "../NREB_Entry.hpp"
11 
12  #pragma once
13 
18  namespace NREB {
23  namespace IO {
24 
29  class File : public Entry {
30  private : // Fields
31 
32  public: // Methods
33  //## Constructor ##//
39  File(std::string const& n, Entry* p = nullptr);
40 
41  //## Deconstructor ##//
45  ~File() = default;
46 
47  //## Methods ##//
51  bool isFile() const override;
55  bool isFolder() const override;
59  std::string getObjectName() const;
63  std::string getObjectPath() const;
64  };
65  }
66  }
bool isFolder() const override
Definition: NREB_File.cpp:22
Builder's IO module.
Represent a system entry.
Definition: NREB_Entry.hpp:32
The NRE-Builder global namespace.
Definition: NREB_Config.cpp:12
std::string getObjectPath() const
Definition: NREB_File.cpp:42
Represent a file entry.
Definition: NREB_File.hpp:29
bool isFile() const override
Definition: NREB_File.cpp:18
std::string getObjectName() const
Definition: NREB_File.cpp:26
~File()=default
File(std::string const &n, Entry *p=nullptr)
Definition: NREB_File.cpp:15