Pol  Rev 533
StoredConfigFile Class Reference

#include <cfgrepos.h>

+ Inheritance diagram for StoredConfigFile:
+ Collaboration diagram for StoredConfigFile:

List of all members.

Public Types

typedef map< std::string,
ElemRef, ci_cmp_pred
ElementsByName
typedef map< int, ElemRefElementsByNum
typedef ref_ptr< StoredConfigElemElemRef

Public Member Functions

 StoredConfigFile ()
ElementsByName::const_iterator byname_begin ()
ElementsByName::const_iterator byname_end ()
ElementsByNum::const_iterator bynum_begin ()
ElementsByNum::const_iterator bynum_end ()
ElemRef findelem (int key)
ElemRef findelem (const std::string &key)
void load (ConfigFile &cf)
void load_tus_scp (const std::string &filename)
int maxintkey () const
const time_t modified () const

Public Attributes

bool reload

Private Member Functions

 StoredConfigFile (const StoredConfigFile &)
StoredConfigFileoperator= (const StoredConfigFile &)

Private Attributes

ElementsByName elements_byname_
ElementsByNum elements_bynum_
time_t modified_
bool unloadable_

Detailed Description

Definition at line 55 of file cfgrepos.h.


Member Typedef Documentation

Definition at line 70 of file cfgrepos.h.

Definition at line 74 of file cfgrepos.h.

Definition at line 63 of file cfgrepos.h.


Constructor & Destructor Documentation

Definition at line 101 of file cfgrepos.cpp.


Member Function Documentation

ElementsByName::const_iterator StoredConfigFile::byname_begin ( ) [inline]

Definition at line 71 of file cfgrepos.h.

References elements_byname_.

Referenced by ConfigFileExecutorModule::mf_GetConfigStringKeys().

+ Here is the caller graph for this function:

ElementsByName::const_iterator StoredConfigFile::byname_end ( ) [inline]

Definition at line 72 of file cfgrepos.h.

References elements_byname_.

Referenced by ConfigFileExecutorModule::mf_GetConfigStringKeys().

+ Here is the caller graph for this function:

ElementsByNum::const_iterator StoredConfigFile::bynum_begin ( ) [inline]

Definition at line 75 of file cfgrepos.h.

References elements_bynum_.

Referenced by ConfigFileExecutorModule::mf_GetConfigIntKeys().

+ Here is the caller graph for this function:

ElementsByNum::const_iterator StoredConfigFile::bynum_end ( ) [inline]

Definition at line 76 of file cfgrepos.h.

References elements_bynum_.

Referenced by ConfigFileExecutorModule::mf_GetConfigIntKeys().

+ Here is the caller graph for this function:

Definition at line 144 of file cfgrepos.cpp.

References elements_bynum_.

Referenced by UOExecutorModule::mf_ApplyConstraint(), and ConfigFileExecutorModule::mf_FindConfigElement().

+ Here is the caller graph for this function:

Definition at line 153 of file cfgrepos.cpp.

References elements_byname_.

Definition at line 123 of file cfgrepos.cpp.

References elements_byname_, elements_bynum_, ConfigFile::modified(), modified_, ConfigFile::read(), reload, and ConfigElemBase::rest().

Referenced by FindConfigFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void StoredConfigFile::load_tus_scp ( const std::string &  filename)

Definition at line 189 of file cfgrepos.cpp.

References bobject_from_string(), ref_counted::count(), elements_bynum_, extractkey(), ref_ptr< T >::set(), and splitnamevalue().

Referenced by LoadTusScpFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 162 of file cfgrepos.cpp.

References elements_bynum_.

Referenced by ConfigFileExecutorModule::mf_GetConfigMaxIntKey().

+ Here is the caller graph for this function:

const time_t StoredConfigFile::modified ( ) const

Definition at line 176 of file cfgrepos.cpp.

References modified_.

StoredConfigFile& StoredConfigFile::operator= ( const StoredConfigFile ) [private]

Member Data Documentation

Definition at line 80 of file cfgrepos.h.

Referenced by byname_begin(), byname_end(), findelem(), and load().

time_t StoredConfigFile::modified_ [private]

Definition at line 85 of file cfgrepos.h.

Referenced by load(), and modified().

Definition at line 78 of file cfgrepos.h.

Referenced by load().

Definition at line 84 of file cfgrepos.h.


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