Detailed Description
A KFbxObject derived
container for KFbxObjects.
Definition at line 59 of file kfbxcollection.h.
#include <kfbxcollection.h>
List of all
members.
Protected Member Functions
|
|
KFbxCollection
(KFbxSdkManager &pManager,
char const *pName) |
Collection member management
|
virtual
void |
Clear
() |
|
Deletes all objects in the container.
|
virtual
bool |
AddMember
(KFbxObject
*pMember) |
|
Adds a member.
|
virtual
bool |
RemoveMember
(KFbxObject
*pMember) |
|
Removes a member.
|
template<class T
> |
T
* |
FindMember
(T const *pfbxType, const char *pName) |
|
Searches for a member of class T.
|
int |
GetMemberCount
() const |
|
Returns the number of objects contained
within the collection.
|
template<class T
> |
int |
GetMemberCount
(T const *pFBX_TYPE) const |
|
Returns the number of class T objects
contained within the collection.
|
int |
GetMemberCount
(KFbxCriteria
pCriteria) const |
|
Returns the number of objects in the
collection that satisfy the given criteria.
|
KFbxObject * |
GetMember
(int pIndex=0) const |
|
Returns the member of the collection at the
given index.
|
template<class T
> |
T
* |
GetMember
(T const *pFBX_TYPE, int pIndex=0) const |
|
Returns the member of class T at the given
index in the collection.
|
KFbxObject * |
GetMember
(KFbxCriteria
pCriteria, int pIndex=0) const |
|
Returns the member that satisfies the given
criteria at the given index in the collection.
|
virtual
bool |
IsMember
(const KFbxObject
*pMember) const |
|
Judges whether an object is a part of the
collection.
|
Selection management
|
virtual
void |
SetSelectedAll
(bool pSelection) |
|
Selects/Deselects all the contained objects.
|
virtual
void |
SetSelected
(KFbxObject
*pObject, bool pSelection) |
|
Selects/Deselects an object.
|
virtual
bool |
GetSelected
(KFbxObject
*pObject) |
|
Returns whether the specified object is
selected or not.
|
Constructor & Destructor Documentation
Member Function Documentation
virtual void Clear |
( |
|
) |
[virtual] |
virtual bool AddMember |
( |
KFbxObject * |
pMember |
) |
[inline, virtual] |
virtual bool RemoveMember |
( |
KFbxObject * |
pMember |
) |
[inline, virtual] |
Removes a member.
- Parameters:
-
pMember |
Object to be removed. |
Definition at line 79 of file kfbxcollection.h.
T* FindMember |
( |
T const * |
pfbxType, |
|
|
const char * |
pName |
|
) |
|
[inline] |
int GetMemberCount |
( |
|
) |
const [inline] |
int GetMemberCount |
( |
T const * |
pFBX_TYPE |
) |
const [inline] |
Returns the number of class T objects contained within the
collection.
- Parameters:
-
- Returns:
- The number of objects of class T the collection contains.
Definition at line 96 of file kfbxcollection.h.
Returns the number of objects in the collection that satisfy the
given criteria.
- Parameters:
-
pCriteria |
The given criteria |
- Returns:
- The number of objects in the collection that satisfy the given
criteria.
KFbxObject* GetMember |
( |
int |
pIndex = 0 |
) |
const [inline] |
T* GetMember |
( |
T const * |
pFBX_TYPE, |
|
|
int |
pIndex = 0 |
|
) |
|
const [inline] |
Returns the member of class T at the given index in the
collection.
- Parameters:
-
pFBX_TYPE |
Member type. |
pIndex |
The given index. |
- Returns:
- The member of class T at the given index.
Definition at line 115 of file kfbxcollection.h.
Returns the member that satisfies the given criteria at the
given index in the collection.
- Parameters:
-
pCriteria |
The given criteria. |
pIndex |
The given index. |
- Returns:
- The member that satisfies the given criteria at the given
index.
virtual bool IsMember |
( |
const KFbxObject * |
pMember |
) |
const [virtual] |
Judges whether an object is a part of the collection.
- Parameters:
-
pMember |
The member to be judged. |
- Returns:
True
if it is a member of the collection, returns
false
if it is not a member.
virtual void SetSelectedAll |
( |
bool |
pSelection |
) |
[virtual] |
Selects/Deselects all the contained objects.
- Parameters:
-
pSelection |
If true , all objects are selected, if
false , all objects are deselected. |
virtual void SetSelected |
( |
KFbxObject * |
pObject, |
|
|
bool |
pSelection |
|
) |
|
[virtual] |
Selects/Deselects an object.
- Parameters:
-
pObject |
The object to be selected or deselected. |
pSelection |
If true , pObject is selected, if
false , pObject is deselected. |
virtual bool GetSelected |
( |
KFbxObject * |
pObject |
) |
[virtual] |
Returns whether the specified object is selected or not.
- Parameters:
-
pObject |
The specified object. |
- Returns:
- Whether pObject is selected or not.
The documentation for this class was generated from the following
file:
KFbxCollection KFbxCollection
KFbxCollection KFbxCollection KFbxCollection KFbxCollection
KFbxCollection KFbxCollection KFbxCollection KFbxCollection
KFbxCollection KFbxCollection
KFbxCollection KFbxCollection KFbxCollection KFbxCollection
KFbxCollection KFbxCollection KFbxCollection KFbxCollection