Planeshift
|
Basis list prerequisite operator. More...
#include <psquestprereqops.h>
Public Member Functions | |
virtual void | Insert (size_t n, csRef< psQuestPrereqOp > prereqOp) |
Insert a new child prerequisite onto the child list. | |
virtual void | Push (csRef< psQuestPrereqOp > prereqOp) |
Push a new child prerequisite onto the child list. | |
virtual | ~psQuestPrereqOpList () |
Destructor for the list prerequisite operator. | |
Protected Attributes | |
csRefArray< psQuestPrereqOp > | prereqlist |
The list of child prerequisite operators for this list operator. |
Basis list prerequisite operator.
Define basic operations for operations needing any number of prerequisites to be complete. Like an and operator with any numbers of childs.
Definition at line 112 of file psquestprereqops.h.
virtual psQuestPrereqOpList::~psQuestPrereqOpList | ( | ) | [inline, virtual] |
Destructor for the list prerequisite operator.
Will delete any prerequisite pushed on to the list of child prerequisites.
Definition at line 127 of file psquestprereqops.h.
virtual void psQuestPrereqOpList::Insert | ( | size_t | n, |
csRef< psQuestPrereqOp > | prereqOp | ||
) | [virtual] |
Insert a new child prerequisite onto the child list.
Add another prerequisite operator to the list of childs for this list prerequisite.
n | Insert the prereqOp before prerequisite n |
prereqOp | The prerequisite operator to be inserted to the list. |
virtual void psQuestPrereqOpList::Push | ( | csRef< psQuestPrereqOp > | prereqOp | ) | [virtual] |
Push a new child prerequisite onto the child list.
Add another prerequisite operator to the list of childs for this list prerequisite.
prereqOp | The prerequisite operator to be appended to the list. |
csRefArray<psQuestPrereqOp> psQuestPrereqOpList::prereqlist [protected] |
The list of child prerequisite operators for this list operator.
Definition at line 118 of file psquestprereqops.h.