FBX C++ API Reference
|
#include <fbxstringlist.h>
Base class of FbxStringList.
Definition at line 50 of file fbxstringlist.h.
Public Member Functions | |
Operation With The Array | |
int | AddItem (Type *pItem) |
Append a item at the end of the array. More... | |
int | InsertItemAt (int pIndex, Type *pItem) |
Insert a item in the array. More... | |
Type * | GetItemAt (int pIndex) const |
Access item at given index. More... | |
int | FindItem (Type *pItem) const |
Find first matching item. More... | |
Constructor and Destructor | |
FbxStringListT () | |
Default constructor. More... | |
virtual | ~FbxStringListT () |
Destructor. More... | |
void | RemoveLast () |
Remove the item at the end of the array and delete the associated object. More... | |
int | GetCount () const |
Get number of items in the array. More... | |
FbxString & | operator[] (int pIndex) |
Access the string in the item at given index. More... | |
FbxHandle | GetReferenceAt (int pIndex) const |
Access the value of reference in the item at given index. More... | |
void | SetReferenceAt (int pIndex, FbxHandle pRef) |
Set the value of reference at given index. More... | |
char * | GetStringAt (int pIndex) const |
Access the pointer of string at given index. More... | |
virtual bool | SetStringAt (int pIndex, const char *pString) |
Set string at given index. More... | |
int | Find (Type &pItem) const |
Find first matching item. More... | |
int | FindIndex (FbxHandle pReference) const |
Find first matching item which has the same reference as given parameter. More... | |
int | FindIndex (const char *pString) const |
Find first matching item in array whose string address is the same as given pointer. More... | |
FbxHandle | FindReference (const char *pString) const |
Access the value of reference of the first matching item in array whose string address is the same as given pointer. More... | |
bool | Remove (Type &pItem) |
Remove first matching item. More... | |
bool | Remove (const char *pString) |
Remove first matching item in array whose string address is the same as given pointer. More... | |
bool | RemoveIt (Type &pItem) |
Remove first matching item. More... | |
void | Sort () |
Sort the array by the string of every item,not case sensitive. More... | |
void * | FindEqual (const char *pString) const |
Find first matching item which has the same string as given parameter,not case sensitive. More... | |
void * | FindCaseSensitive (const char *pString) const |
Find first matching item which has the same string as given parameter, case sensitive. More... | |
int | Add (const char *pString, FbxHandle pItem=0) |
Add a new item at the end of array. More... | |
virtual int | InsertAt (int pIndex, const char *pString, FbxHandle pItem=0) |
virtual void | RemoveAt (int pIndex) |
Remove the item at the given position in the array and delete the associated object. More... | |
virtual void | Clear () |
Delete the array. More... | |
virtual void | GetText (FbxString &pText) const |
Get the string of all the item. More... | |
virtual int | SetText (const char *pList) |
Clear the array and set the array's new items with the substring separated by '~' from the given string. More... | |
Protected Attributes | |
FbxArray< Type * > | mList |
|
inline |
|
inlinevirtual |
|
inline |
Append a item at the end of the array.
Definition at line 64 of file fbxstringlist.h.
|
inline |
Insert a item in the array.
pIndex | Position where to insert the item. |
pItem | Item to insert. |
Definition at line 72 of file fbxstringlist.h.
|
inline |
|
inline |
Find first matching item.
Definition at line 80 of file fbxstringlist.h.
|
inline |
Remove the item at the end of the array and delete the associated object.
Definition at line 99 of file fbxstringlist.h.
|
inline |
Get number of items in the array.
Definition at line 104 of file fbxstringlist.h.
|
inline |
|
inline |
Access the value of reference in the item at given index.
Definition at line 110 of file fbxstringlist.h.
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
Find first matching item.
Definition at line 132 of file fbxstringlist.h.
|
inline |
Find first matching item which has the same reference as given parameter.
Definition at line 146 of file fbxstringlist.h.
|
inline |
Find first matching item in array whose string address is the same as given pointer.
Definition at line 160 of file fbxstringlist.h.
|
inline |
Access the value of reference of the first matching item in array whose string address is the same as given pointer.
Definition at line 175 of file fbxstringlist.h.
|
inline |
Remove first matching item.
Definition at line 185 of file fbxstringlist.h.
|
inline |
Remove first matching item in array whose string address is the same as given pointer.
Definition at line 196 of file fbxstringlist.h.
|
inline |
Remove first matching item.
Definition at line 207 of file fbxstringlist.h.
|
inline |
Sort the array by the string of every item,not case sensitive.
Definition at line 218 of file fbxstringlist.h.
|
inline |
Find first matching item which has the same string as given parameter,not case sensitive.
Definition at line 228 of file fbxstringlist.h.
|
inline |
Find first matching item which has the same string as given parameter, case sensitive.
Definition at line 247 of file fbxstringlist.h.
|
inline |
Add a new item at the end of array.
Definition at line 264 of file fbxstringlist.h.
|
inlinevirtual |
Definition at line 269 of file fbxstringlist.h.
|
inlinevirtual |
Remove the item at the given position in the array and delete the associated object.
pIndex | Position of the item to remove. |
Definition at line 280 of file fbxstringlist.h.
|
inlinevirtual |
Delete the array.
Definition at line 286 of file fbxstringlist.h.
|
inlinevirtual |
Get the string of all the item.
Definition at line 294 of file fbxstringlist.h.
|
inlinevirtual |
Clear the array and set the array's new items with the substring separated by '~' from the given string.
pList | The string which used to generate the new items. |
Definition at line 313 of file fbxstringlist.h.
|
protected |
Definition at line 53 of file fbxstringlist.h.