[]Jimmy's World.org
Not Left, nor right. Just correct.
[]
Jimmy's World Games
Not a Member? - Login or Create an Account
[] Tuesday the 6th of January 2009 @ 02:13am
News Journal Creative Writing Projects Your JW About

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cConfiguration Class Reference

#include <cConfiguration.h>

List of all members.

Public Types

Public Member Functions

Protected Types


Detailed Description

Definition at line 37 of file cConfiguration.h.


Member Typedef Documentation

typedef tContainer::const_iterator n2l::cConfiguration::tConstIterator
 

Definition at line 43 of file cConfiguration.h.

typedef std::map<tString,cDynVar> n2l::cConfiguration::tContainer [protected]
 

Definition at line 40 of file cConfiguration.h.

typedef tContainer::iterator n2l::cConfiguration::tIterator
 

Definition at line 44 of file cConfiguration.h.

typedef tContainer::size_type n2l::cConfiguration::tSize
 

Definition at line 46 of file cConfiguration.h.


Constructor & Destructor Documentation

n2l::cConfiguration::cConfiguration  ) 
 

Definition at line 45 of file cConfiguration.cpp.

n2l::cConfiguration::~cConfiguration  ) 
 

Definition at line 51 of file cConfiguration.cpp.


Member Function Documentation

const cConfiguration::tIterator n2l::cConfiguration::begin  ) 
 

Definition at line 64 of file cConfiguration.cpp.

const cConfiguration::tConstIterator n2l::cConfiguration::begin  )  const
 

Definition at line 57 of file cConfiguration.cpp.

Referenced by configDiff(), dump(), encodeBuffer(), and n2l::cConfigurationTemplate::validate().

void n2l::cConfiguration::clear  ) 
 

Definition at line 166 of file cConfiguration.cpp.

const cConfiguration n2l::cConfiguration::configDiff const cConfiguration iOther  )  const
 

Return a configuration with the differences between this configuration and iOther.

The settings in 'this' will be considered authoritative. That is, if the configuration of the result of this method is merged onto other, 'this' configuration will be achived.

Definition at line 172 of file cConfiguration.cpp.

References begin(), end(), and isSet().

void n2l::cConfiguration::decodeBuffer const tString iEncodedBuffer  ) 
 

Definition at line 188 of file cConfiguration.cpp.

References n2l::cConfParsingErrors::add(), n2l::cConfParsingErrors::empty(), n2l::cString::empty(), empty(), n2l::cConfParsingError::ErrorType_Syntax, n2l::cDynVar::eval(), n2l::explode(), n2l::findUnescaped(), n2l::cString::npos, n2l::cString::size(), n2l::cString::substr(), n2l::substringReplace(), n2l::trimmed(), and n2l::unescapedString().

const tString n2l::cConfiguration::dump  )  const
 

Definition at line 265 of file cConfiguration.cpp.

References begin(), and end().

const tBool n2l::cConfiguration::empty  )  const
 

Definition at line 152 of file cConfiguration.cpp.

Referenced by decodeBuffer().

const tString n2l::cConfiguration::encodeBuffer  )  const
 

Definition at line 244 of file cConfiguration.cpp.

References begin(), and end().

const cConfiguration::tIterator n2l::cConfiguration::end  ) 
 

Definition at line 78 of file cConfiguration.cpp.

const cConfiguration::tConstIterator n2l::cConfiguration::end  )  const
 

Definition at line 71 of file cConfiguration.cpp.

Referenced by configDiff(), dump(), encodeBuffer(), find(), isSet(), operator[](), and n2l::cConfigurationTemplate::validate().

const cConfiguration::tIterator n2l::cConfiguration::erase const tIterator  iIt  ) 
 

Definition at line 142 of file cConfiguration.cpp.

const cConfiguration::tIterator n2l::cConfiguration::find const tString iName  ) 
 

Definition at line 100 of file cConfiguration.cpp.

References end(), and n2l::strToLower().

const cConfiguration::tConstIterator n2l::cConfiguration::find const tString iName  )  const
 

Definition at line 85 of file cConfiguration.cpp.

References end(), and n2l::strToLower().

Referenced by operator[](), and n2l::cConfigurationTemplate::validate().

const tBool n2l::cConfiguration::isSet const tString iName  )  const
 

Definition at line 115 of file cConfiguration.cpp.

References end().

Referenced by n2l::cConfigurationTemplate::applyDefaults(), and configDiff().

const cDynVar & n2l::cConfiguration::operator[] const tString iName  )  const
 

Definition at line 131 of file cConfiguration.cpp.

References end(), and find().

cDynVar & n2l::cConfiguration::operator[] const tString iName  ) 
 

Definition at line 122 of file cConfiguration.cpp.

References end(), and find().

const cConfiguration::tSize n2l::cConfiguration::size  )  const
 

Definition at line 159 of file cConfiguration.cpp.


The documentation for this class was generated from the following files:
©2009 Aaron Cameron
Benchmarks