MyGUI::utility Namespace Reference

Namespaces

namespace  templates

Functions

void trim (std::string &_str, bool _left=true, bool _right=true)
template<typename T >
std::string toString (T p)
const std::string & toString (const std::string &_value)
template<typename T1 , typename T2 >
std::string toString (T1 p1, T2 p2)
template<typename T1 , typename T2 , typename T3 >
std::string toString (T1 p1, T2 p2, T3 p3)
template<typename T1 , typename T2 , typename T3 , typename T4 >
std::string toString (T1 p1, T2 p2, T3 p3, T4 p4)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
std::string toString (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
std::string toString (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
std::string toString (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
std::string toString (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
std::string toString (T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9)
template<>
std::string toString< bool > (bool _value)
template<typename T >
parseValue (const std::string &_value)
template<>
bool parseValue (const std::string &_value)
short parseShort (const std::string &_value)
unsigned short parseUShort (const std::string &_value)
int parseInt (const std::string &_value)
unsigned int parseUInt (const std::string &_value)
size_t parseSizeT (const std::string &_value)
float parseFloat (const std::string &_value)
double parseDouble (const std::string &_value)
bool parseBool (const std::string &_value)
char parseChar (const std::string &_value)
unsigned char parseUChar (const std::string &_value)
template<typename T1 , typename T2 >
T1 parseValueEx2 (const std::string &_value)
template<typename T1 , typename T2 >
T1 parseValueEx3 (const std::string &_value)
template<typename T1 , typename T2 >
T1 parseValueEx4 (const std::string &_value)
std::vector< std::string > split (const std::string &_source, const std::string &_delims="\t\n ")
template<typename T1 , typename T2 , typename T3 , typename T4 >
bool parseComplex (const std::string &_value, T1 &_p1, T2 &_p2, T3 &_p3, T4 &_p4)
template<typename T1 , typename T2 , typename T3 >
bool parseComplex (const std::string &_value, T1 &_p1, T2 &_p2, T3 &_p3)
template<typename T1 , typename T2 >
bool parseComplex (const std::string &_value, T1 &_p1, T2 &_p2)
template<typename T1 >
bool parseComplex (const std::string &_value, T1 &_p1)
template<>
bool parseComplex< bool > (const std::string &_value, bool &_p1)

Function Documentation

bool MyGUI::utility::parseBool ( const std::string &  _value  )  [inline]

Definition at line 170 of file MyGUI_Utility.h.

char MyGUI::utility::parseChar ( const std::string &  _value  )  [inline]

Definition at line 171 of file MyGUI_Utility.h.

template<typename T1 >
bool MyGUI::utility::parseComplex ( const std::string &  _value,
T1 &  _p1 
) [inline]

Definition at line 314 of file MyGUI_Utility.h.

template<typename T1 , typename T2 >
bool MyGUI::utility::parseComplex ( const std::string &  _value,
T1 &  _p1,
T2 &  _p2 
) [inline]

Definition at line 296 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 >
bool MyGUI::utility::parseComplex ( const std::string &  _value,
T1 &  _p1,
T2 &  _p2,
T3 &  _p3 
) [inline]

Definition at line 278 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 , typename T4 >
bool MyGUI::utility::parseComplex ( const std::string &  _value,
T1 &  _p1,
T2 &  _p2,
T3 &  _p3,
T4 &  _p4 
) [inline]

Definition at line 260 of file MyGUI_Utility.h.

template<>
bool MyGUI::utility::parseComplex< bool > ( const std::string &  _value,
bool &  _p1 
) [inline]
double MyGUI::utility::parseDouble ( const std::string &  _value  )  [inline]

Definition at line 168 of file MyGUI_Utility.h.

float MyGUI::utility::parseFloat ( const std::string &  _value  )  [inline]

Definition at line 167 of file MyGUI_Utility.h.

int MyGUI::utility::parseInt ( const std::string &  _value  )  [inline]

Definition at line 164 of file MyGUI_Utility.h.

short MyGUI::utility::parseShort ( const std::string &  _value  )  [inline]

Definition at line 162 of file MyGUI_Utility.h.

size_t MyGUI::utility::parseSizeT ( const std::string &  _value  )  [inline]

Definition at line 166 of file MyGUI_Utility.h.

unsigned char MyGUI::utility::parseUChar ( const std::string &  _value  )  [inline]

Definition at line 172 of file MyGUI_Utility.h.

unsigned int MyGUI::utility::parseUInt ( const std::string &  _value  )  [inline]

Definition at line 165 of file MyGUI_Utility.h.

unsigned short MyGUI::utility::parseUShort ( const std::string &  _value  )  [inline]

Definition at line 163 of file MyGUI_Utility.h.

template<>
unsigned char MyGUI::utility::parseValue ( const std::string &  _value  )  [inline]

Definition at line 159 of file MyGUI_Utility.h.

template<typename T >
T MyGUI::utility::parseValue ( const std::string &  _value  )  [inline]

Definition at line 127 of file MyGUI_Utility.h.

template<typename T1 , typename T2 >
T1 MyGUI::utility::parseValueEx2 ( const std::string &  _value  )  [inline]

Definition at line 176 of file MyGUI_Utility.h.

template<typename T1 , typename T2 >
T1 MyGUI::utility::parseValueEx3 ( const std::string &  _value  )  [inline]

Definition at line 195 of file MyGUI_Utility.h.

template<typename T1 , typename T2 >
T1 MyGUI::utility::parseValueEx4 ( const std::string &  _value  )  [inline]

Definition at line 214 of file MyGUI_Utility.h.

std::vector<std::string> MyGUI::utility::split ( const std::string &  _source,
const std::string &  _delims = "\t\n " 
) [inline]

Definition at line 252 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2,
T3  p3,
T4  p4,
T5  p5,
T6  p6,
T7  p7,
T8  p8,
T9  p9 
) [inline]

Definition at line 111 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2,
T3  p3,
T4  p4,
T5  p5,
T6  p6,
T7  p7,
T8  p8 
) [inline]

Definition at line 103 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2,
T3  p3,
T4  p4,
T5  p5,
T6  p6,
T7  p7 
) [inline]

Definition at line 95 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2,
T3  p3,
T4  p4,
T5  p5,
T6  p6 
) [inline]

Definition at line 87 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2,
T3  p3,
T4  p4,
T5  p5 
) [inline]

Definition at line 79 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 , typename T4 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2,
T3  p3,
T4  p4 
) [inline]

Definition at line 71 of file MyGUI_Utility.h.

template<typename T1 , typename T2 , typename T3 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2,
T3  p3 
) [inline]

Definition at line 63 of file MyGUI_Utility.h.

template<typename T1 , typename T2 >
std::string MyGUI::utility::toString ( T1  p1,
T2  p2 
) [inline]

Definition at line 55 of file MyGUI_Utility.h.

const std::string& MyGUI::utility::toString ( const std::string &  _value  )  [inline]

Definition at line 49 of file MyGUI_Utility.h.

template<typename T >
std::string MyGUI::utility::toString ( p  )  [inline]

Definition at line 42 of file MyGUI_Utility.h.

template<>
std::string MyGUI::utility::toString< bool > ( bool  _value  )  [inline]
void MyGUI::utility::trim ( std::string &  _str,
bool  _left = true,
bool  _right = true 
) [inline]

Definition at line 34 of file MyGUI_Utility.h.


Generated on 5 Dec 2009 for MyGUI by  doxygen 1.6.1