SHOGUN
v2.0.0
|
template class SGStringList
Definition at line 22 of file SGStringList.h.
Public Member Functions | |
SGStringList () | |
SGStringList (SGString< T > *s, index_t num_s, index_t max_length, bool free_strings=false) | |
SGStringList (index_t num_s, index_t max_length, bool free_strings=false) | |
SGStringList (const SGStringList &orig) | |
void | free_list () |
void | destroy_list () |
Public Attributes | |
index_t | num_strings |
index_t | max_string_length |
SGString< T > * | strings |
bool | do_free |
SGStringList | ( | ) |
default constructor
Definition at line 26 of file SGStringList.h.
SGStringList | ( | SGString< T > * | s, |
index_t | num_s, | ||
index_t | max_length, | ||
bool | free_strings = false |
||
) |
constructor for setting params
Definition at line 30 of file SGStringList.h.
SGStringList | ( | index_t | num_s, |
index_t | max_length, | ||
bool | free_strings = false |
||
) |
constructor to create new string list in memory
Definition at line 35 of file SGStringList.h.
SGStringList | ( | const SGStringList< T > & | orig | ) |
copy constructor
Definition at line 43 of file SGStringList.h.
void destroy_list | ( | ) |
destroy list
Definition at line 61 of file SGStringList.h.
void free_list | ( | ) |
free list
Definition at line 49 of file SGStringList.h.
bool do_free |
whether vector needs to be freed
Definition at line 78 of file SGStringList.h.
index_t max_string_length |
length of longest string
Definition at line 72 of file SGStringList.h.
index_t num_strings |
number of strings
Definition at line 69 of file SGStringList.h.
SGString<T>* strings |
this contains the array of features
Definition at line 75 of file SGStringList.h.