#include <kfbxcollection.h>

This class also provides access to global settings and take information.
Definition at line 61 of file kfbxcollection.h.
Collection member management |
|
| virtual void | Clear () |
| Delete all contained objects. |
|
| virtual bool | AddMember (KFbxObject *pMember) |
| Add a member. |
|
| virtual bool | RemoveMember (KFbxObject *pMember) |
| Remove a member. |
|
| template<class T> | |
| T * | FindMember (T const *pfbxType, const char *pName) |
| Find a member. |
|
| int | GetMemberCount () const |
| Return the number of objects in the
collection. |
|
| template<class T> | |
| int | GetMemberCount (T const *pFBX_TYPE) const |
| Return the number of objects of class T in
the collection. |
|
| int | GetMemberCount (KFbxCriteria pCriteria) const |
| Return the number of objects satisfying
given criteria in the collection. |
|
| KFbxObject * | GetMember (int pIndex=0) const |
| Return the index'th member of the
collection. |
|
| template<class T> | |
| T * | GetMember (T const *pFBX_TYPE, int pIndex=0) const |
| Return the index'th member of class T in the
collection. |
|
| KFbxObject * | GetMember (KFbxCriteria pCriteria, int pIndex=0) const |
| Return the index'th member of the collection
which satisfies given criteria. |
|
| virtual bool | IsMember (KFbxObject *pMember) const |
| Is an object part of the collection.
|
|
Selection management |
|
| virtual void | SetSelectedAll (bool pSelection) |
| Select/Deselect all contained objects.
|
|
| virtual void | SetSelected (KFbxObject *pObject, bool pSelection) |
| Select/Deselect objects. |
|
| virtual bool | GetSelected (KFbxObject *pObject) |
| Get Selected/Deselected. |
|
| virtual void Clear | ( | ) | [virtual] |
Delete all contained objects.
Reimplemented in KFbxDocument, and KFbxScene.
| virtual bool AddMember | ( | KFbxObject * | pMember | ) | [inline, virtual] |
Add a member.
| pMember | Object to be added. |
Reimplemented in KFbxCollectionExclusive.
Definition at line 75 of file kfbxcollection.h.
References KFbxObject::ConnectSrcObject().
Referenced by KFbxDocument::AddRootMember().
| virtual bool RemoveMember | ( | KFbxObject * | pMember | ) | [inline, virtual] |
Remove a member.
| pMember | Object to be removed. |
Definition at line 79 of file kfbxcollection.h.
References KFbxObject::DisconnectSrcObject().
Referenced by KFbxDocument::RootRootRemoveMember().
| T* FindMember | ( | T const * | pfbxType, | |
| const char * | pName | |||
| ) | [inline] |
Find a member.
| pfbxType | Member type. | |
| pName | Member name. |
Definition at line 84 of file kfbxcollection.h.
References KFbxObject::FindSrcObject().
| int GetMemberCount | ( | ) | const [inline] |
Return the number of objects in the collection.
Definition at line 88 of file kfbxcollection.h.
References KFbxObject::GetSrcObjectCount().
Referenced by KFbxLibrary::InstantiateMember().
| int GetMemberCount | ( | T const * | pFBX_TYPE | ) | const [inline] |
Return the number of objects of class T in the collection.
| pFBX_TYPE | Member type. |
Definition at line 93 of file kfbxcollection.h.
References KFbxObject::GetSrcObjectCount().
| int GetMemberCount | ( | KFbxCriteria | pCriteria | ) | const |
Return the number of objects satisfying given criteria in the collection.
| pCriteria | The given criteria |
| KFbxObject* GetMember | ( | int | pIndex = 0 |
) | const [inline] |
Return the index'th member of the collection.
| pIndex | The member index. |
Definition at line 104 of file kfbxcollection.h.
References KFbxObject::GetSrcObject().
Referenced by KFbxLibrary::InstantiateMember().
| T* GetMember | ( | T const * | pFBX_TYPE, | |
| int | pIndex = 0 |
|||
| ) | const [inline] |
Return the index'th member of class T in the collection.
| pFBX_TYPE | Member type information. | |
| pIndex | The member index. |
Definition at line 110 of file kfbxcollection.h.
References KFbxObject::GetSrcObject().
| KFbxObject* GetMember | ( | KFbxCriteria | pCriteria, | |
| int | pIndex = 0 |
|||
| ) | const |
Return the index'th member of the collection which satisfies given criteria.
| pCriteria | The given criteria. | |
| pIndex | The member index. |
| virtual bool IsMember | ( | KFbxObject * | pMember | ) | const [virtual] |
Is an object part of the collection.
| pMember | Whether pMember is part of the collection. |
True if is, false otherwise.| virtual void SetSelectedAll | ( | bool | pSelection | ) | [virtual] |
Select/Deselect all contained objects.
| pSelection | If true, all object are selected, otherwise all
objects are unselected. |
| virtual void SetSelected | ( | KFbxObject * | pObject, | |
| bool | pSelection | |||
| ) | [virtual] |
Select/Deselect objects.
| pObject | ||
| pSelection | If true, pObject are selected, otherwise pObject
are unselected. |
| virtual bool GetSelected | ( | KFbxObject * | pObject | ) | [virtual] |
Get Selected/Deselected.
| pObject | Get whether pObject is selected or unselected. |