YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
StringHelper.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_STRINGHELPER_HPP
2
# define YAPOG_STRINGHELPER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/String.hpp
"
6
# include "
YAPOG/Collection/Array.hpp
"
7
8
namespace
yap
9
{
10
class
YAPOG_LIB
StringHelper
11
{
12
DISALLOW_COPY
(
StringHelper
);
13
14
public
:
15
16
template
<
typename
T>
17
static
String
ToString (
const
T& value);
18
19
template
<
typename
T>
20
static
T Parse (
const
String
& str);
21
22
static
void
Split (
23
const
String
& str,
24
const
String
& delimiters,
25
collection::Array<String>
& result);
26
27
template
<
typename
T>
28
static
int
CompareString (
const
T& s1,
const
T& s2);
29
template
<
typename
T>
30
static
String
& Ltrim(T& s);
31
template
<
typename
T>
32
static
String
& Rtrim(T& s);
33
template
<
typename
T>
34
static
String
& Trim(T& s);
35
template
<
typename
T>
36
static
String
Trim(
const
T& s);
37
template
<
typename
T>
38
static
String
Rtrim(
const
T& s);
39
template
<
typename
T>
40
static
String
Ltrim(
const
T& s);
41
42
private
:
43
44
StringHelper
();
45
~
StringHelper
();
46
};
47
}
// namespace yap
48
49
# include "
YAPOG/System/StringHelper.hxx
"
50
51
#endif // YAPOG_STRINGHELPER_HPP
YAPOG
include
YAPOG
System
StringHelper.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1