CActionList Class Reference
class for logging a
sequence of actions More...
#include <caction.h>
Inheritance diagram for CActionList:
List of all members.
Detailed Description
class for logging a sequence of actions
This class saves the ActionData Objects and the index of the
actions in separate lists. If you add an action, the index is
stored in the index list (so the action has to be member of the
actionlist's actionset. If the specific action returns a valid
CActionData Object,
this is also stored in the actionDatas map. /par If you want to get
an action with a specified number in the sequence, the action with
the index specified by actionIndices[num] is returned, but before
if there is an action data, it is set.
Constructor & Destructor Documentation
| virtual
CActionList::~CActionList
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| void
CActionList::addAction
|
( |
CAction *
|
action |
) |
|
|
| void
CActionList::clear
|
( |
|
) |
|
|
| unsigned int
CActionList::getNumActions
|
( |
|
) |
|
|
| unsigned int
CActionList::getSize
|
( |
|
) |
|
|
| |
Returns the number of actions in the action
list.
|
| virtual void
CActionList::loadASCII
|
( |
FILE * |
stream |
) |
[virtual] |
|
| virtual void
CActionList::loadBIN
|
( |
FILE * |
stream |
) |
[virtual] |
|
| virtual void
CActionList::saveASCII
|
( |
FILE * |
stream |
) |
[virtual] |
|
| virtual void
CActionList::saveBIN
|
( |
FILE * |
stream |
) |
[virtual] |
|
Member Data Documentation
| |
map for the actionDatas, the mapIndex is the actionNumber in the
sequence, because not all action have an action
data
|
The documentation for this class was generated from the following
file:
|