lib_config
Public Member Functions | List of all members
libConfig::ComplexConfigValue Class Reference

#include <Configuration.hpp>

Inheritance diagram for libConfig::ComplexConfigValue:
libConfig::ConfigValue

Public Member Functions

 ComplexConfigValue ()
 
virtual ~ComplexConfigValue ()
 
virtual void print (std::ostream &stream, int level=0) const
 
virtual bool merge (std::shared_ptr< ConfigValue > other)
 
const std::map< std::string,
std::shared_ptr< ConfigValue > > & 
getValues () const
 
void addValue (const std::string &name, std::shared_ptr< ConfigValue > value)
 
- Public Member Functions inherited from libConfig::ConfigValue
const std::string & getName () const
 
const TypegetType () const
 
void setName (const std::string &name)
 
void setCxxTypeName (const std::string &name)
 
const std::string & getCxxTypeName ()
 
virtual ~ConfigValue ()
 

Additional Inherited Members

- Public Types inherited from libConfig::ConfigValue
enum  Type { SIMPLE, COMPLEX, ARRAY }
 
- Protected Member Functions inherited from libConfig::ConfigValue
 ConfigValue (enum Type)
 
- Protected Attributes inherited from libConfig::ConfigValue
enum Type type
 
std::string name
 
std::string cxxTypeName
 

Constructor & Destructor Documentation

ComplexConfigValue::ComplexConfigValue ( )
ComplexConfigValue::~ComplexConfigValue ( )
virtual

Member Function Documentation

void ComplexConfigValue::addValue ( const std::string &  name,
std::shared_ptr< ConfigValue value 
)
const std::map< std::string, std::shared_ptr< ConfigValue > > & ComplexConfigValue::getValues ( ) const
bool ComplexConfigValue::merge ( std::shared_ptr< ConfigValue other)
virtual
void ComplexConfigValue::print ( std::ostream &  stream,
int  level = 0 
) const
virtual

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