Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

mortic::IConfigSet Class Reference

The configuration set holder. More...

List of all members.

Public Member Functions

 IConfigSet ()
 Constructor.
 ~IConfigSet ()
 Destructor.
void setOption (std::string section, std::string key, std::string value)
 Sets a value.

Public Attributes

std::vector< std::string > sections
std::vector< std::string > keys
std::vector< std::string > values

Friends

class IRoot


Detailed Description

The configuration set holder.

Configuration sets are what is used to give defaults (pre) and overides (post) configuration options when you create a root. A default config set holds the defaults that values not present will be set to, and an override config set holds values that are set regardless. This is only used in createRoot(), and should never be reference by pointers. It is always created by the user.

See also:
createRoot()

Definition at line 39 of file IConfigManager.h.


Constructor & Destructor Documentation

mortic::IConfigSet::IConfigSet  )  [inline]
 

Constructor.

Definition at line 44 of file IConfigManager.h.

mortic::IConfigSet::~IConfigSet  )  [inline]
 

Destructor.

Definition at line 47 of file IConfigManager.h.


Member Function Documentation

void mortic::IConfigSet::setOption std::string  section,
std::string  key,
std::string  value
[inline]
 

Sets a value.

Definition at line 57 of file IConfigManager.h.

References keys, sections, and values.


Friends And Related Function Documentation

friend class IRoot [friend]
 

Definition at line 41 of file IConfigManager.h.


Member Data Documentation

std::vector<std::string> mortic::IConfigSet::keys
 

Definition at line 65 of file IConfigManager.h.

Referenced by setOption().

std::vector<std::string> mortic::IConfigSet::sections
 

Definition at line 64 of file IConfigManager.h.

Referenced by setOption().

std::vector<std::string> mortic::IConfigSet::values
 

Definition at line 66 of file IConfigManager.h.

Referenced by setOption().


Generated on Sat Dec 30 21:21:59 2006 for mortic by  doxygen 1.4.4