Public 成员函数 | |
SGString () | |
SGString (T *s, index_t l, bool free_s=false) | |
SGString (SGVector< T > v) | |
SGString (index_t len, bool free_s=false) | |
SGString (const SGString &orig) | |
bool | operator== (const SGString &other) const |
void | free_string () |
void | destroy_string () |
SGString< T > | get () |
void | load (CFile *loader) |
void | save (CFile *saver) |
Public 属性 | |
T * | string |
index_t | slen |
bool | do_free |
SGString | ( | ) |
default constructor
在文件 SGString.cpp 第 11 行定义.
constructor for setting params
在文件 SGString.cpp 第 14 行定义.
constructor for setting params from a SGVector
在文件 SGString.cpp 第 18 行定义.
constructor to create new string in memory
在文件 SGString.cpp 第 22 行定义.
copy constructor
在文件 SGString.cpp 第 29 行定义.
void destroy_string | ( | ) |
destroy string
在文件 SGString.cpp 第 59 行定义.
void free_string | ( | ) |
free string
在文件 SGString.cpp 第 48 行定义.
SGString<T> get | ( | ) |
void load | ( | CFile * | loader | ) |
bool operator== | ( | const SGString< T > & | other | ) | const |
equality operator
在文件 SGString.cpp 第 33 行定义.
void save | ( | CFile * | saver | ) |
bool do_free |
whether string needs to be freed
在文件 SGString.h 第 81 行定义.
index_t slen |
length of string
在文件 SGString.h 第 79 行定义.
T* string |
string
在文件 SGString.h 第 77 行定义.