lib_config
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
libConfig::ConfigValue Class Referenceabstract

#include <Configuration.hpp>

Inheritance diagram for libConfig::ConfigValue:
libConfig::ArrayConfigValue libConfig::ComplexConfigValue libConfig::SimpleConfigValue

Public Types

enum  Type { SIMPLE, COMPLEX, ARRAY }
 

Public Member Functions

virtual bool merge (std::shared_ptr< ConfigValue > other)=0
 
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 void print (std::ostream &stream, int level=0) const =0
 
virtual ~ConfigValue ()
 

Protected Member Functions

 ConfigValue (enum Type)
 

Protected Attributes

enum Type type
 
std::string name
 
std::string cxxTypeName
 

Member Enumeration Documentation

Enumerator
SIMPLE 
COMPLEX 
ARRAY 

Constructor & Destructor Documentation

ConfigValue::~ConfigValue ( )
virtual
ConfigValue::ConfigValue ( enum  Type)
protected

Member Function Documentation

const std::string & ConfigValue::getCxxTypeName ( )
const std::string & ConfigValue::getName ( ) const
const ConfigValue::Type & ConfigValue::getType ( ) const
virtual bool libConfig::ConfigValue::merge ( std::shared_ptr< ConfigValue other)
pure virtual
virtual void libConfig::ConfigValue::print ( std::ostream &  stream,
int  level = 0 
) const
pure virtual
void ConfigValue::setCxxTypeName ( const std::string &  name)
void ConfigValue::setName ( const std::string &  name)

Member Data Documentation

std::string libConfig::ConfigValue::cxxTypeName
protected
std::string libConfig::ConfigValue::name
protected
enum Type libConfig::ConfigValue::type
protected

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