BASE::RCIniFile Class Reference

File base implementation of RCIniInterface. More...

Inherits BASE::RCIniInterface, and BASE::RCFile.

Inheritance diagram for BASE::RCIniFile:

Inheritance graph
[legend]
Collaboration diagram for BASE::RCIniFile:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCIniFile (const RCString &sFileName, TBool bParse=true)
void SetSection (const RCString &sSection)
virtual void SetValue (const RCString &sKey, const RCString &sValue)
virtual RCString GetValue (const RCString &sKey, const RCString &sDefault, TBool bWriteDefault=false)

Protected Types

typedef map< RCString, RCString,
RCNoCaseLess > 
RCEntryMap
typedef list< RCStringRCEntryList
typedef pair< RCEntryMap,
RCEntryList > 
RCSection

Protected Member Functions

void ParseFile ()
void WriteFile ()
void WriteSection (const RCString &sSection, const RCSection &Section)
void WriteValue (const RCString &sKey, const RCString &sValue)

Protected Attributes

RCString m_sCurrentSection
TBool m_bModified

Static Protected Attributes

static const RCString SPACE_CHARS = _T(" \t")
static const RCString ASSIGN_TEXT = _T(" = ")
static const TChar SECTION_START = _T('[')
static const TChar SECTION_END = _T(']')
static const TChar ASSIGN = _T('=')
static const TChar QUOTE = _T('\"')

Detailed Description

File base implementation of RCIniInterface.

Author:
Patrik Stellmann
This class implements the RCIniInterface by reading/writing the given entries from/toa text file.


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:46:24 2006 for Simulator Bob by  doxygen 1.4.6-NO