Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <xml_support.h>
Classes | |
struct | Pair |
Public Member Functions | |
EnumMap (const Pair *data, unsigned int num) | |
int | lookup (const std::string &str) const |
const std::string & | lookup (int val) const |
Definition at line 59 of file xml_support.h.
Definition at line 35 of file xml_support.cpp.
References a, Hashtable< KEY, VALUE, SIZ >::Put(), strtoupper(), and XMLSupport::tostring().
int XMLSupport::EnumMap::lookup | ( | const std::string & | str) | const |
Referenced by Nebula::beginElem(), FSM::beginElement(), GalaxyXML::beginElement(), Faction::beginElement(), accountXML::beginElement(), BeamXML::beginElement(), BaseUtil::CompPython(), FSM::endElement(), Faction::endElement(), GalaxyXML::endElement(), accountXML::endElement(), BeamXML::endElement(), and AIEvents::GeneralAIEventBegin().
const string & XMLSupport::EnumMap::lookup | ( | int | val) | const |
Definition at line 49 of file xml_support.cpp.
References Hashtable< KEY, VALUE, SIZ >::Get(), and XMLSupport::tostring().