Pol  Rev 533
ConfigElemBase Class Reference

#include <cfgelem.h>

+ Inheritance diagram for ConfigElemBase:
+ Collaboration diagram for ConfigElemBase:

List of all members.

Public Member Functions

const char * rest () const
const char * type () const
bool type_is (const char *name) const

Protected Member Functions

 ConfigElemBase ()

Protected Attributes

const ConfigSource_source
std::string rest_
std::string type_

Detailed Description

Definition at line 33 of file cfgelem.h.


Constructor & Destructor Documentation

Definition at line 74 of file cfgfile.cpp.


Member Function Documentation

bool ConfigElemBase::type_is ( const char *  name) const

Reimplemented in VectorConfigElem.

Definition at line 120 of file cfgfile.cpp.

References type(), and type_.

Referenced by ItemDesc::create(), FindEquipTemplate(), FindNpcTemplate(), load_incremental_indexes(), load_movecost(), load_uoclient_entry(), ConfigSection::matches(), MultiDef::MultiDef(), Storage::read(), read_gameservers(), read_resources_dat(), read_stacking_cfg(), slurp(), and xmain().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


Member Data Documentation

std::string ConfigElemBase::rest_ [protected]

Reimplemented in VectorConfigElem.

Definition at line 43 of file cfgelem.h.

Referenced by ConfigFile::_read(), rest(), and ConfigElem::set_rest().

std::string ConfigElemBase::type_ [protected]

Reimplemented in VectorConfigElem.

Definition at line 42 of file cfgelem.h.

Referenced by ConfigFile::_read(), ConfigElem::set_type(), type(), and type_is().


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