|
Pol
Rev 533
|
#include <cfgrepos.h>
Inheritance diagram for StoredConfigFile:
Collaboration diagram for StoredConfigFile:Public Types | |
| typedef map< std::string, ElemRef, ci_cmp_pred > | ElementsByName |
| typedef map< int, ElemRef > | ElementsByNum |
| typedef ref_ptr< StoredConfigElem > | ElemRef |
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 &) | |
| StoredConfigFile & | operator= (const StoredConfigFile &) |
Private Attributes | |
| ElementsByName | elements_byname_ |
| ElementsByNum | elements_bynum_ |
| time_t | modified_ |
| bool | unloadable_ |
Definition at line 55 of file cfgrepos.h.
| typedef map<std::string, ElemRef, ci_cmp_pred> StoredConfigFile::ElementsByName |
Definition at line 70 of file cfgrepos.h.
| typedef map<int, ElemRef> StoredConfigFile::ElementsByNum |
Definition at line 74 of file cfgrepos.h.
Definition at line 63 of file cfgrepos.h.
Definition at line 101 of file cfgrepos.cpp.
| StoredConfigFile::StoredConfigFile | ( | const StoredConfigFile & | ) | [private] |
| 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:| StoredConfigFile::ElemRef StoredConfigFile::findelem | ( | const std::string & | key | ) |
Definition at line 153 of file cfgrepos.cpp.
References elements_byname_.
| void StoredConfigFile::load | ( | ConfigFile & | cf | ) |
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:| int StoredConfigFile::maxintkey | ( | ) | const |
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] |
Definition at line 80 of file cfgrepos.h.
Referenced by byname_begin(), byname_end(), findelem(), and load().
Definition at line 82 of file cfgrepos.h.
Referenced by bynum_begin(), bynum_end(), findelem(), load(), load_tus_scp(), and maxintkey().
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().
bool StoredConfigFile::unloadable_ [private] |
Definition at line 84 of file cfgrepos.h.