This reference page is linked to from the following overview topics: FBX SDK Object Model, FBX Objects, List of Python Fbx classes, Connections.
#include <fbxcollection.h>
A FbxObject derived container for FbxObject.
Definition at line 28 of file fbxcollection.h.
Collection member management |
|
| virtual void | Clear () |
| Deletes all objects in the container.
|
|
| virtual bool | AddMember (FbxObject *pMember) |
| Adds a member. |
|
| virtual bool | RemoveMember (FbxObject *pMember) |
| Removes a member. |
|
| int | GetMemberCount () const |
| Returns the number of objects contained
within the collection. |
|
| FbxObject * | GetMember (int pIndex=0) const |
| Returns the member of the collection at the
given index. |
|
| virtual bool | IsMember (const FbxObject *pMember) const |
| Judges whether an object is a part of the
collection. |
|
Templated member management |
|
| template<class T > | |
| FBX_DEPRECATED int | GetMemberCount (const T *) const |
| Returns the number of class T objects
contained within the collection. |
|
| template<class T > | |
| int | GetMemberCount () const |
| Returns the number of class T objects
contained within the collection. |
|
| template<class T > | |
| FBX_DEPRECATED T * | GetMember (const T *, int pIndex=0) const |
| Returns the member of class T at the given
index in the collection. |
|
| template<class T > | |
| T * | GetMember (int pIndex=0) const |
| Returns the member of class T at the given
index in the collection. |
|
| template<class T > | |
| FBX_DEPRECATED T * | FindMember (const T *, const char *pName) const |
| Searches for a member of class T. |
|
| template<class T > | |
| T * | FindMember (const char *pName) const |
| Searches for a member of class T. |
|
Criteria based member management |
|
| int | GetMemberCount (const FbxCriteria &pCriteria) const |
| Returns the number of class T objects
contained within the collection. |
|
| FbxObject * | GetMember (const FbxCriteria &pCriteria, int pIndex=0) const |
| Returns the member of class T at the given
index in the collection. |
|
| FbxObject * | FindMember (const FbxCriteria &pCriteria, const char *pName) const |
| Searches for a member of class T. |
|
Selection management |
|
| virtual void | SetSelectedAll (bool pSelection) |
| Selects/Deselects all the contained objects.
|
|
| virtual void | SetSelected (FbxObject *pObject, bool pSelection) |
| Selects/Deselects an object. |
|
| virtual bool | GetSelected (FbxObject *pObject) |
| Returns whether the specified object is
selected or not. |
|
| virtual void Clear | ( | ) | [virtual] |
Deletes all objects in the container.
Reimplemented in FbxDocument, and FbxScene.
| virtual bool AddMember | ( | FbxObject * | pMember | ) | [inline, virtual] |
Adds a member.
| pMember | Object to be added. |
Reimplemented in FbxCollectionExclusive.
Definition at line 43 of file fbxcollection.h.
{ return ConnectSrcObject(pMember); }
| virtual bool RemoveMember | ( | FbxObject * | pMember | ) | [inline, virtual] |
Removes a member.
| pMember | Object to be removed. |
Definition at line 48 of file fbxcollection.h.
{ return DisconnectSrcObject(pMember); }
| int GetMemberCount | ( | ) | const [inline] |
Returns the number of objects contained within the collection.
Definition at line 53 of file fbxcollection.h.
{ return GetSrcObjectCount(); }
| FbxObject* GetMember | ( | int | pIndex = 0 |
) | const [inline] |
Returns the member of the collection at the given index.
| pIndex | The given index. |
Definition at line 59 of file fbxcollection.h.
{ return GetSrcObject(pIndex); }
| virtual bool IsMember | ( | const FbxObject * | pMember | ) | const [virtual] |
Judges whether an object is a part of the collection.
| pMember | The member to be judged. |
True if it is a member of the collection, returns
false if it is not a member.| FBX_DEPRECATED int GetMemberCount | ( | const T * | ) | const [inline] |
Returns the number of class T objects contained within the collection.
(Deprecated, please use GetMemberCount<Type>() instead.)
Definition at line 75 of file fbxcollection.h.
{ return GetSrcObjectCount<T>(); }
| int GetMemberCount | ( | ) | const [inline] |
Returns the number of class T objects contained within the collection.
Definition at line 79 of file fbxcollection.h.
{ return GetSrcObjectCount<T>(); }
| FBX_DEPRECATED T* GetMember | ( | const T * | , |
| int | pIndex = 0 |
||
| ) | const [inline] |
Returns the member of class T at the given index in the collection.
(Deprecated, please use GetMember<Type>() instead.)
| pIndex | The given index. |
Definition at line 85 of file fbxcollection.h.
{ return GetSrcObject<T>(pIndex); }
| T* GetMember | ( | int | pIndex = 0 |
) | const [inline] |
Returns the member of class T at the given index in the collection.
| pIndex | The given index. |
Definition at line 90 of file fbxcollection.h.
{ return GetSrcObject<T>(pIndex); }
| FBX_DEPRECATED T* FindMember | ( | const T * | , |
| const char * | pName | ||
| ) | const [inline] |
Searches for a member of class T.
(Deprecated, please use FindMember<Type>() instead.)
| pName | Member name. |
Definition at line 95 of file fbxcollection.h.
{ return FindSrcObject<T>(pName); }
| T* FindMember | ( | const char * | pName | ) | const [inline] |
Searches for a member of class T.
| pName | Member name. |
Definition at line 99 of file fbxcollection.h.
{ return FindSrcObject<T>(pName); }
| int GetMemberCount | ( | const FbxCriteria & | pCriteria | ) | const [inline] |
Returns the number of class T objects contained within the collection.
Definition at line 109 of file fbxcollection.h.
{ return GetSrcObjectCount(pCriteria); }
| FbxObject* GetMember | ( | const FbxCriteria & | pCriteria, |
| int | pIndex = 0 |
||
| ) | const [inline] |
Returns the member of class T at the given index in the collection.
| pIndex | The given index. |
Definition at line 115 of file fbxcollection.h.
{ return GetSrcObject(pCriteria, pIndex); }
| FbxObject* FindMember | ( | const FbxCriteria & | pCriteria, |
| const char * | pName | ||
| ) | const [inline] |
Searches for a member of class T.
| pName | Member name. |
Definition at line 120 of file fbxcollection.h.
{ return FindSrcObject(pCriteria, pName); }
| virtual void SetSelectedAll | ( | bool | pSelection | ) | [virtual] |
Selects/Deselects all the contained objects.
| pSelection | If true, all objects are selected, if
false, all objects are deselected. |
| virtual void SetSelected | ( | FbxObject * | pObject, |
| bool | pSelection | ||
| ) | [virtual] |
Selects/Deselects an object.
| pObject | The object to be selected or deselected. |
| pSelection | If true, pObject is selected, if
false, pObject is deselected. |
| virtual bool GetSelected | ( | FbxObject * | pObject | ) | [virtual] |
Returns whether the specified object is selected or not.
| pObject | The specified object. |