YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::StringHelper Class Reference

#include <StringHelper.hpp>

Collaboration diagram for yap::StringHelper:

List of all members.

Public Member Functions

template<>
String ToString (const Direction &value)
template<>
String ToString (const Time &value)

Static Public Member Functions

template<typename T >
static String ToString (const T &value)
template<typename T >
static T Parse (const String &str)
static void Split (const String &str, const String &delimiters, collection::Array< String > &result)
template<typename T >
static int CompareString (const T &s1, const T &s2)
template<typename T >
static StringLtrim (T &s)
template<typename T >
static StringRtrim (T &s)
template<typename T >
static StringTrim (T &s)
template<typename T >
static String Trim (const T &s)
template<typename T >
static String Rtrim (const T &s)
template<typename T >
static String Ltrim (const T &s)

Private Member Functions

 DISALLOW_COPY (StringHelper)
 StringHelper ()
 ~StringHelper ()

Detailed Description

Definition at line 10 of file StringHelper.hpp.


Constructor & Destructor Documentation

yap::StringHelper::StringHelper ( )
private
yap::StringHelper::~StringHelper ( )
private

Member Function Documentation

template<typename T >
int yap::StringHelper::CompareString ( const T &  s1,
const T &  s2 
)
inlinestatic

Definition at line 28 of file StringHelper.hxx.

Here is the caller graph for this function:

yap::StringHelper::DISALLOW_COPY ( StringHelper  )
private
template<typename T >
String & yap::StringHelper::Ltrim ( T &  s)
inlinestatic

Definition at line 49 of file StringHelper.hxx.

Here is the caller graph for this function:

template<typename T >
String yap::StringHelper::Ltrim ( const T &  s)
inlinestatic

Definition at line 101 of file StringHelper.hxx.

Here is the call graph for this function:

ExperienceType yap::StringHelper::Parse< ExperienceType > ( const String str)
inlinestatic

Definition at line 108 of file StringHelper.hxx.

template<typename T >
String & yap::StringHelper::Rtrim ( T &  s)
inlinestatic

Definition at line 65 of file StringHelper.hxx.

Here is the caller graph for this function:

template<typename T >
String yap::StringHelper::Rtrim ( const T &  s)
inlinestatic

Definition at line 94 of file StringHelper.hxx.

Here is the call graph for this function:

void yap::StringHelper::Split ( const String str,
const String delimiters,
collection::Array< String > &  result 
)
static

Definition at line 9 of file StringHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
String yap::StringHelper::ToString ( const T &  value)
inlinestatic

Definition at line 18 of file StringHelper.hxx.

Here is the caller graph for this function:

template<>
String yap::StringHelper::ToString ( const Direction value)
inline

Definition at line 114 of file StringHelper.hxx.

template<>
String yap::StringHelper::ToString ( const Time value)
inline

Definition at line 157 of file StringHelper.hxx.

template<typename T >
String & yap::StringHelper::Trim ( T &  s)
inlinestatic

Definition at line 81 of file StringHelper.hxx.

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
String yap::StringHelper::Trim ( const T &  s)
inlinestatic

Definition at line 87 of file StringHelper.hxx.

Here is the call graph for this function:


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