|
Pol
Rev 533
|
#include <proplist.h>
Collaboration diagram for PropertyList:Public Member Functions | |
| PropertyList () | |
| PropertyList (const PropertyList &) | |
| void | clear () |
| void | copyprops (const PropertyList &proplist) |
| void | eraseprop (const std::string &propname) |
| bool | getprop (const std::string &propname, std::string &propvalue) const |
| void | getpropnames (std::vector< std::string > &propnames) const |
| PropertyList & | operator- (const std::set< std::string > &) |
| void | operator-= (const std::set< std::string > &) |
| bool | operator== (const PropertyList &) const |
| void | printProperties (std::ostream &os) const |
| void | printProperties (ConfigElem &elem) const |
| void | printPropertiesAsStrings (std::ostream &os) const |
| void | readProperties (ConfigElem &elem) |
| void | readRemainingPropertiesAsStrings (ConfigElem &elem) |
| void | setprop (const std::string &propname, const std::string &propvalue) |
Protected Types | |
| typedef std::map< std::string, std::string > | Properties |
Protected Attributes | |
| Properties | properties |
Private Member Functions | |
| PropertyList & | operator= (const PropertyList &) |
Friends | |
| class | UObjectHelper |
Definition at line 26 of file proplist.h.
typedef std::map<std::string, std::string> PropertyList::Properties [protected] |
Definition at line 49 of file proplist.h.
Definition at line 33 of file proplist.cpp.
| PropertyList::PropertyList | ( | const PropertyList & | props | ) |
Definition at line 37 of file proplist.cpp.
References copyprops().
Here is the call graph for this function:| void PropertyList::clear | ( | ) |
Definition at line 76 of file proplist.cpp.
References properties.
Referenced by Account::readfrom().
Here is the caller graph for this function:| void PropertyList::copyprops | ( | const PropertyList & | proplist | ) |
Definition at line 66 of file proplist.cpp.
References properties.
Referenced by UObject::copyprops(), and PropertyList().
Here is the caller graph for this function:| void PropertyList::eraseprop | ( | const std::string & | propname | ) |
Definition at line 61 of file proplist.cpp.
References properties.
Referenced by CallPropertyListMethod_id(), UObject::eraseprop(), UOExecutorModule::mf_EraseGlobalProperty(), operator-(), and operator-=().
Here is the caller graph for this function:| bool PropertyList::getprop | ( | const std::string & | propname, |
| std::string & | propvalue | ||
| ) | const |
Definition at line 43 of file proplist.cpp.
References properties.
Referenced by CallPropertyListMethod_id(), Region::get_region_string(), UObject::getprop(), UOExecutorModule::mf_GetGlobalProperty(), ItemDesc::PopulateStruct(), and start_gameclock().
Here is the caller graph for this function:| void PropertyList::getpropnames | ( | std::vector< std::string > & | propnames | ) | const |
Definition at line 81 of file proplist.cpp.
References properties.
Referenced by CallPropertyListMethod_id(), UObject::getpropnames(), UOExecutorModule::mf_GetGlobalPropertyNames(), and ItemDesc::PopulateStruct().
Here is the caller graph for this function:| PropertyList & PropertyList::operator- | ( | const std::set< std::string > & | CPropNames | ) |
Definition at line 178 of file proplist.cpp.
References eraseprop().
Here is the call graph for this function:| void PropertyList::operator-= | ( | const std::set< std::string > & | CPropNames | ) |
Definition at line 189 of file proplist.cpp.
References eraseprop().
Here is the call graph for this function:| PropertyList& PropertyList::operator= | ( | const PropertyList & | ) | [private] |
| bool PropertyList::operator== | ( | const PropertyList & | plist | ) | const |
Definition at line 173 of file proplist.cpp.
References properties.
| void PropertyList::printProperties | ( | std::ostream & | os | ) | const |
Definition at line 90 of file proplist.cpp.
References pf_endl, and properties.
Referenced by Guild::printOn(), Party::printOn(), UObject::printProperties(), write_global_properties(), and Account::writeto().
Here is the caller graph for this function:| void PropertyList::printProperties | ( | ConfigElem & | elem | ) | const |
Definition at line 101 of file proplist.cpp.
References ConfigElem::add_prop(), and properties.
Here is the call graph for this function:| void PropertyList::printPropertiesAsStrings | ( | std::ostream & | os | ) | const |
Definition at line 112 of file proplist.cpp.
References pf_endl, and properties.
Referenced by DataFileElement::printOn().
Here is the caller graph for this function:| void PropertyList::readProperties | ( | ConfigElem & | elem | ) |
Definition at line 124 of file proplist.cpp.
References ConfigElem::remove_prop(), setprop(), and splitnamevalue().
Referenced by Guild::Guild(), ItemDesc::ItemDesc(), Party::Party(), Account::readfrom(), UObject::readProperties(), and slurp().
Here is the call graph for this function:
Here is the caller graph for this function:| void PropertyList::readRemainingPropertiesAsStrings | ( | ConfigElem & | elem | ) |
Definition at line 147 of file proplist.cpp.
References ConfigElem::remove_first_prop(), and setprop().
Referenced by DataFileElement::DataFileElement(), and Region::read_custom_config().
Here is the call graph for this function:
Here is the caller graph for this function:| void PropertyList::setprop | ( | const std::string & | propname, |
| const std::string & | propvalue | ||
| ) |
Definition at line 56 of file proplist.cpp.
References properties.
Referenced by CallPropertyListMethod_id(), UOExecutorModule::mf_SetGlobalProperty(), readProperties(), readRemainingPropertiesAsStrings(), UObject::setprop(), and update_gameclock().
Here is the caller graph for this function:friend class UObjectHelper [friend] |
Definition at line 53 of file proplist.h.
Properties PropertyList::properties [protected] |
Definition at line 50 of file proplist.h.
Referenced by clear(), copyprops(), eraseprop(), getprop(), getpropnames(), operator==(), printProperties(), printPropertiesAsStrings(), setprop(), and UObjectHelper::ShowProperties().