The list of XMLAnimTreeEntry tracks, that will then be loaded onto, or saved out, or put into the mixer.
The class is contains pointers to the XMLAnimTreeEntry objects and allocates and deletes these objects itself. This class is contained within the NodeAndAnims object.
#include <XMLAnimTreeEntry.h>
Public Types |
|
enum | { getEntry, count, zeroCount, shrink, deleteItems, findAnim, findName } |
Public Member Functions |
|
DllExport | XMLAnimTreeEntryList () |
Constructor. |
|
DllExport | ~XMLAnimTreeEntryList () |
Deconstructor. |
|
DllExport XMLAnimTreeEntry * | operator[] (const int index) |
Returns the i'th
XMLAnimTreeEntry. |
|
DllExport int | Count () const |
How many items in the list. |
|
DllExport void | ZeroCount () |
Zeroes out the list and deletes the
XLMAnimTreeEntries in the list. |
|
DllExport void | Shrink () |
Shrinks the internal Tab that
holds the items. |
|
DllExport int | Delete (int start, int num) |
Delete the specified items out of the list.
Also deletes the
XMLAnimTreeEntry objects themselves. |
|
DllExport void | DeleteData () |
Deletes all of the XMLAnimTreeEntries in the
list. |
|
DllExport int | FindAnim (Animatable *anim, int start=0) |
Find the specified anim in the list.
|
|
DllExport int | Find (XMLAnimTreeEntry *which) |
Find this particular
XMLAnimTreeEntry based off it's pointer value. |
|
DllExport int | Find (MSTR &name, int unique) |
DllExport void | FindParents (int index, Tab< int > &parentIndices) |
DllExport void | FindChildren (int index, Tab< int > &childIndices) |
Fnd the subAnim children of the specified
item. |
|
BEGIN_FUNCTION_MAP | FN_1 (getEntry, TYPE_INTERFACE, GetEntry, TYPE_INT) |
FN_0 (count, TYPE_INT, Count) | |
VFN_0 (zeroCount, ZeroCount) | |
VFN_0 (shrink, Shrink) | |
FN_2 (deleteItems, TYPE_INT, Delete, TYPE_INT, TYPE_INT) | |
FN_2 (findAnim, TYPE_INT, FindAnimFP, TYPE_REFTARG, TYPE_INT) | |
FN_2 (findName, TYPE_INT, FindNameFP, TYPE_STRING, TYPE_INT) | |
END_FUNCTION_MAP
DllExport FPInterfaceDesc * |
GetDesc () |
LifetimeType | LifetimeControl () |
BaseInterface * | AcquireInterface () |
DllExport void | ReleaseInterface () |
Friends |
|
class | XMLAnimTreeEntry |
class | XMLAnimLabelWindow |
class | XMLAnimMapDlg |
class | AnimFileLoader |
class | AnimFileCreator |
class | XMLAnim |
class | XMLTreeListEnum |
class | XMLAnimTreeEntryListImp |
anonymous enum |
!
DllExport XMLAnimTreeEntryList | ( | ) |
Constructor.
DllExport ~XMLAnimTreeEntryList | ( | ) |
Deconstructor.
DllExport XMLAnimTreeEntry* operator[] | ( | const int | index | ) |
Returns the i'th XMLAnimTreeEntry.
[in] | index | The index of the item you want |
DllExport int Count | ( | ) | const |
How many items in the list.
Reimplemented from Tab< XMLAnimTreeEntry * >.
DllExport void ZeroCount | ( | ) |
Zeroes out the list and deletes the XLMAnimTreeEntries in the list.
Reimplemented from Tab< XMLAnimTreeEntry * >.
DllExport void Shrink | ( | ) |
Shrinks the internal Tab that holds the items.
Reimplemented from Tab< XMLAnimTreeEntry * >.
DllExport int Delete | ( | int | start, |
int | num | ||
) |
Delete the specified items out of the list. Also deletes the XMLAnimTreeEntry objects themselves.
[in] | start | The first item to delete |
[in] | num | The number of items to delete from the start. |
Reimplemented from Tab< XMLAnimTreeEntry * >.
DllExport void DeleteData | ( | ) |
Deletes all of the XMLAnimTreeEntries in the list.
DllExport int FindAnim | ( | Animatable * | anim, |
int | start = 0 |
||
) |
Find the specified anim in the list.
[in] | anim | The anim you want to find. |
[in] | start | Where you want to start looking from |
DllExport int Find | ( | XMLAnimTreeEntry * | which | ) |
Find this particular XMLAnimTreeEntry based off it's pointer value.
DllExport int Find | ( | MSTR & | name, |
int | unique | ||
) |
DllExport void FindParents | ( | int | index, |
Tab< int > & | parentIndices | ||
) |
[in] | index | The index of the items subAnim parents you want to find. |
[out] | parentIndices | The indices of the items parents. It will be empty if it has no subAnim parents. |
DllExport void FindChildren | ( | int | index, |
Tab< int > & | childIndices | ||
) |
Fnd the subAnim children of the specified item.
[in] | index | The index whose children you want to find. |
[out] | childIndices | The indices of the items children. It will be empty if it has no subAnim children. |
BEGIN_FUNCTION_MAP FN_1 | ( | getEntry | , |
TYPE_INTERFACE | , | ||
GetEntry | , | ||
TYPE_INT | |||
) |
FN_0 | ( | count | , |
TYPE_INT | , | ||
Count | |||
) |
VFN_0 | ( | zeroCount | , |
ZeroCount | |||
) |
VFN_0 | ( | shrink | , |
Shrink | |||
) |
FN_2 | ( | deleteItems | , |
TYPE_INT | , | ||
Delete | , | ||
TYPE_INT | , | ||
TYPE_INT | |||
) |
FN_2 | ( | findAnim | , |
TYPE_INT | , | ||
FindAnimFP | , | ||
TYPE_REFTARG | , | ||
TYPE_INT | |||
) |
FN_2 | ( | findName | , |
TYPE_INT | , | ||
FindNameFP | , | ||
TYPE_STRING | , | ||
TYPE_INT | |||
) |
END_FUNCTION_MAP DllExport FPInterfaceDesc* GetDesc | ( | ) | [virtual] |
LifetimeType LifetimeControl | ( | ) | [inline, virtual] |
BaseInterface* AcquireInterface | ( | ) | [inline, virtual] |
DllExport void ReleaseInterface | ( | ) | [virtual] |
friend class XMLAnimTreeEntry
[friend] |
friend class XMLAnimLabelWindow
[friend] |
friend class XMLAnimMapDlg
[friend] |
friend class AnimFileLoader
[friend] |
friend class AnimFileCreator
[friend] |
friend class XMLAnim [friend] |
friend class XMLTreeListEnum
[friend] |
friend class XMLAnimTreeEntryListImp
[friend] |