EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
eudaq::Configuration Class Reference

Public Member Functions

 Configuration (const std::string &config="", const std::string &section="")
 
 Configuration (std::istream &conffile, const std::string &section="")
 
 Configuration (const Configuration &other)
 
void Save (std::ostream &file) const
 
void Load (std::istream &file, const std::string &section)
 
bool SetSection (const std::string &section) const
 
bool SetSection (const std::string &section)
 
std::string operator[] (const std::string &key) const
 
std::string Get (const std::string &key, const std::string &def) const
 
double Get (const std::string &key, double def) const
 
int64_t Get (const std::string &key, int64_t def) const
 
uint64_t Get (const std::string &key, uint64_t def) const
 
template<typename T >
Get (const std::string &key, T def) const
 
int Get (const std::string &key, int def) const
 
template<typename T >
Get (const std::string &key, const std::string fallback, const T &def) const
 
std::string Get (const std::string &key, const char *def) const
 
std::string Get (const std::string &key, const std::string fallback, std::string def) const
 
template<typename T >
void Set (const std::string &key, const T &val)
 
std::string Name () const
 
Configurationoperator= (const Configuration &other)
 
void Print (std::ostream &out) const
 
void Print () const
 

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