template class SGStringList
在文件 SGObject.h 第 40 行定义.

Public 成员函数 | |
| SGStringList () | |
| SGStringList (SGString< T > *s, index_t num_s, index_t max_length, bool ref_counting=true) | |
| SGStringList (index_t num_s, index_t max_length, bool ref_counting=true) | |
| SGStringList (const SGStringList &orig) | |
| virtual | ~SGStringList () |
| SGStringList< T > | get () |
| void | load (CFile *loader) |
| void | save (CFile *saver) |
| int32_t | ref_count () |
Public 属性 | |
| index_t | num_strings |
| index_t | max_string_length |
| SGString< T > * | strings |
Protected 成员函数 | |
| virtual void | copy_data (const SGReferencedData &orig) |
| virtual void | init_data () |
| void | free_data () |
| void | copy_refcount (const SGReferencedData &orig) |
| int32_t | ref () |
| int32_t | unref () |
| SGStringList | ( | ) |
default constructor
在文件 SGStringList.cpp 第 10 行定义.
| SGStringList | ( | SGString< T > * | s, |
| index_t | num_s, | ||
| index_t | max_length, | ||
| bool | ref_counting = true |
||
| ) |
constructor for setting params
在文件 SGStringList.cpp 第 16 行定义.
| SGStringList | ( | index_t | num_s, |
| index_t | max_length, | ||
| bool | ref_counting = true |
||
| ) |
constructor to create new string list in memory
在文件 SGStringList.cpp 第 24 行定义.
| SGStringList | ( | const SGStringList< T > & | orig | ) |
copy constructor
在文件 SGStringList.cpp 第 32 行定义.
|
virtual |
destructor
在文件 SGStringList.cpp 第 39 行定义.
|
protectedvirtual |
|
protectedinherited |
copy refcount
在文件 SGReferencedData.cpp 第 55 行定义.
|
protectedvirtual |
| SGStringList<T> get | ( | ) |
get the string list (no copying is done here)
在文件 SGStringList.h 第 51 行定义.
|
protectedvirtual |
| void load | ( | CFile * | loader | ) |
|
protectedinherited |
|
inherited |
| void save | ( | CFile * | saver | ) |
|
protectedinherited |
decrement reference counter and deallocate object if refcount is zero before or after decrementing it
在文件 SGReferencedData.cpp 第 84 行定义.
| index_t max_string_length |
length of longest string
在文件 SGStringList.h 第 85 行定义.
| index_t num_strings |
number of strings
在文件 SGStringList.h 第 82 行定义.
| SGString<T>* strings |
this contains the array of features
在文件 SGStringList.h 第 88 行定义.