NASA Logo
Ocean Color Science Software

ocssw V2022

#include <FileReader.hpp>

Collaboration diagram for ConfigReader:
[legend]

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 ProdAttrGenericgetAttrGen () 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]

ConfigReader ( )
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

ProdAttrGeneric attrs
protected

Definition at line 53 of file FileReader.hpp.

◆ document

std::unique_ptr<rj::Document> document
protected

Definition at line 50 of file FileReader.hpp.

◆ path

std::optional<fs::path> path
protected

Definition at line 51 of file FileReader.hpp.

◆ product_xml

std::unique_ptr<productInfo_t> product_xml
protected

Definition at line 52 of file FileReader.hpp.


The documentation for this class was generated from the following file: