ocssw
V2022
|
ConfigReader
#include <FileReader.hpp>
Collaboration diagram for ConfigReader:
Public Member Functions | |
ConfigReader ()=default | |
ConfigReader (const std::filesystem::path &path) | |
ConfigReader (const fs::path &path, const std::string &type) | |
bool | exist () const |
const rj::Document * | getDoc () const |
const ProdAttrGeneric & | getAttrGen () const |
Protected Attributes | |
std::unique_ptr< rj::Document > | document |
std::optional< fs::path > | path |
std::unique_ptr< productInfo_t > | product_xml |
ProdAttrGeneric | attrs |
Detailed Description
Definition at line 48 of file FileReader.hpp.
Constructor & Destructor Documentation
◆ ConfigReader() [1/3]
|
default |
◆ ConfigReader() [2/3]
ConfigReader | ( | const std::filesystem::path & | path | ) |
◆ ConfigReader() [3/3]
ConfigReader | ( | const fs::path & | path, |
const std::string & | type | ||
) |
Member Function Documentation
◆ exist()
bool exist | ( | ) | const |
◆ getAttrGen()
const ProdAttrGeneric& getAttrGen | ( | ) | const |
◆ getDoc()
const rj::Document* getDoc | ( | ) | const |
Member Data Documentation
◆ attrs
|
protected |
Definition at line 53 of file FileReader.hpp.
◆ document
|
protected |
Definition at line 50 of file FileReader.hpp.
◆ path
|
protected |
Definition at line 51 of file FileReader.hpp.
◆ product_xml
|
protected |
Definition at line 52 of file FileReader.hpp.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/include/focs/FileReader.hpp