Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <string>
#include <sstream>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <stdarg.h>
#include "xml_support.h"
#include <boost/tokenizer.hpp>
#include <boost/lexical_cast.hpp>
Go to the source code of this file.
Namespaces | |
XMLSupport | |
Constant Groups | |
XMLSupport | |
Macros | |
#define | ESCAPE_CASE(e, c, skip) |
Typedefs | |
typedef boost::char_separator < std::string::value_type > | XMLSupport::Separator |
typedef boost::tokenizer < Separator > | XMLSupport::Tokenizer |
Functions | |
string | strtoupper (const string &foo) |
string | strtolower (const string &foo) |
string | XMLSupport::replace_space (const string &str) |
bool | XMLSupport::parse_bool (const string &str) |
double | XMLSupport::parse_float (const string &str) |
float | XMLSupport::parse_floatf (const string &str) |
void | XMLSupport::parse_floatv (const std::string &input, size_t maxTokens,...) |
void | XMLSupport::parse_floatfv (const string &input, int maxTokens,...) |
int | XMLSupport::parse_int (const string &str) |
string::size_type | XMLSupport::parse_option_find (const string &str, const string &opt, const string &sep, const string &vsep) |
bool | XMLSupport::parse_option_ispresent (const string &str, const string &opt, const string &sep, const string &vsep) |
string | XMLSupport::parse_option_value (const string &str, const string &opt, const string &defvalue, const string &sep, const string &vsep) |
string | XMLSupport::escaped_string (const string &str) |
Variables | |
static const char * | XMLSupport::SEPARATORS = " \t," |
Referenced by XMLSupport::escaped_string().
string strtolower | ( | const string & | foo) |
Definition at line 21 of file xml_support.cpp.
Referenced by getTemplate(), and vsVendorMatch().
string strtoupper | ( | const string & | foo) |
Definition at line 14 of file xml_support.cpp.
Referenced by addAcct(), FSM::beginElement(), ROLES::buildroles(), accountXML::endElement(), BeamXML::endElement(), XMLSupport::EnumMap::EnumMap(), getAcctNoReload(), getAcctTemplate(), getTemplate(), ROLES::InternalGetRole(), matchCargoToWeapon(), AccountServer::recvMsg(), and shouldreflect().