Planeshift
Public Member Functions | Protected Attributes

psQuestPrereqOpList Class Reference

Basis list prerequisite operator. More...

#include <psquestprereqops.h>

List of all members.

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< psQuestPrereqOpprereqlist
 The list of child prerequisite operators for this list operator.

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Parameters:
nInsert the prereqOp before prerequisite n
prereqOpThe 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.

Parameters:
prereqOpThe prerequisite operator to be appended to the list.

Member Data Documentation

The list of child prerequisite operators for this list operator.

Definition at line 118 of file psquestprereqops.h.


The documentation for this class was generated from the following file: