shogun string
Definition at line 213 of file DataType.h.
Public Member Functions | |
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) | |
void | free_string () |
void | destroy_string () |
Public Attributes | |
T * | string |
index_t | slen |
bool | do_free |
SGString | ( | ) |
default constructor
Definition at line 217 of file DataType.h.
constructor for setting params
Definition at line 220 of file DataType.h.
constructor for setting params from a SGVector
Definition at line 224 of file DataType.h.
constructor to create new string in memory
Definition at line 228 of file DataType.h.
copy constructor
Definition at line 235 of file DataType.h.
void destroy_string | ( | ) |
destroy string
Definition at line 250 of file DataType.h.
void free_string | ( | ) |
free string
Definition at line 239 of file DataType.h.
bool do_free |
whether string needs to be freed
Definition at line 262 of file DataType.h.
length of string
Definition at line 260 of file DataType.h.
T* string |
string
Definition at line 258 of file DataType.h.