FBX C++ API Reference
FbxStringList Class Reference

#include <fbxstringlist.h>

Class Description

Array that stores pairs of FbxString and a pointer.

Examples:
UVSample/main.cxx, and ViewScene/SceneCache.cxx.

Definition at line 340 of file fbxstringlist.h.

+ Inheritance diagram for FbxStringList:

Public Member Functions

Constructors
 FbxStringList ()
 Default constructor. More...
 
 FbxStringList (const FbxStringList &pOriginal)
 Copy constructor. More...
 
Assignment Operators
void CopyFrom (const FbxStringList *pOriginal)
 FbxStringList assignment function. More...
 
FbxStringListoperator= (const FbxStringList &pOriginal)
 FbxStringList assignment operator. More...
 
- Public Member Functions inherited from FbxStringListT< FbxStringListItem >
int AddItem (FbxStringListItem *pItem)
 Append a item at the end of the array. More...
 
int InsertItemAt (int pIndex, FbxStringListItem *pItem)
 Insert a item in the array. More...
 
FbxStringListItemGetItemAt (int pIndex) const
 Access item at given index. More...
 
int FindItem (FbxStringListItem *pItem) const
 Find first matching item. More...
 
 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...
 
FbxStringoperator[] (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 (FbxStringListItem &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 (FbxStringListItem &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 (FbxStringListItem &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...
 

Additional Inherited Members

- Protected Attributes inherited from FbxStringListT< FbxStringListItem >
FbxArray< FbxStringListItem *> mList
 

Constructor & Destructor Documentation

◆ FbxStringList() [1/2]

Default constructor.

◆ FbxStringList() [2/2]

FbxStringList ( const FbxStringList pOriginal)

Copy constructor.

Member Function Documentation

◆ CopyFrom()

void CopyFrom ( const FbxStringList pOriginal)

FbxStringList assignment function.

◆ operator=()

FbxStringList& operator= ( const FbxStringList pOriginal)

FbxStringList assignment operator.


The documentation for this class was generated from the following file: