Planeshift
psQuestPrereqOpNot Class Reference

Not prerequisite operator. More...

#include <psquestprereqops.h>

Public Member Functions

virtual bool Check (psCharacter *character)
 Check if the child prerequisite is false. More...
 
virtual csPtr< psQuestPrereqOpCopy ()
 Copy the prerequisite operator. More...
 
virtual csString GetScriptOp ()
 Convert the prerequisite operator to a xml string. More...
 
virtual ~psQuestPrereqOpNot ()
 Destructor for the not prerequisite operator. More...
 
- Public Member Functions inherited from psQuestPrereqOpList
virtual void Insert (size_t n, csRef< psQuestPrereqOp > prereqOp)
 Insert a new child prerequisite onto the child list. More...
 
virtual void Push (csRef< psQuestPrereqOp > prereqOp)
 Push a new child prerequisite onto the child list. More...
 
virtual ~psQuestPrereqOpList ()
 Destructor for the list prerequisite operator. More...
 
- Public Member Functions inherited from psQuestPrereqOp
virtual csString GetScript ()
 Convert the prerequisite script to a xml string. More...
 
virtual ~psQuestPrereqOp ()
 Destructor for the prerequisite operator. More...
 

Additional Inherited Members

- Protected Attributes inherited from psQuestPrereqOpList
csRefArray< psQuestPrereqOpprereqlist
 The list of child prerequisite operators for this list operator. More...
 

Detailed Description

Not prerequisite operator.

Invert the result of the one child.

Definition at line 313 of file psquestprereqops.h.

Constructor & Destructor Documentation

virtual psQuestPrereqOpNot::~psQuestPrereqOpNot ( )
inlinevirtual

Destructor for the not prerequisite operator.

Definition at line 320 of file psquestprereqops.h.

Member Function Documentation

virtual bool psQuestPrereqOpNot::Check ( psCharacter character)
virtual

Check if the child prerequisite is false.

prerequisite = not child

Parameters
characterThe character that are checking for a prerequisite
Returns
True if the one child prerequisite is false

Implements psQuestPrereqOp.

virtual csPtr<psQuestPrereqOp> psQuestPrereqOpNot::Copy ( )
virtual

Copy the prerequisite operator.

Override this function to return a copy of the prerequisite operator.

Returns
Copy of the prerequisite operator.

Implements psQuestPrereqOp.

virtual csString psQuestPrereqOpNot::GetScriptOp ( )
virtual

Convert the prerequisite operator to a xml string.

Convert the operator into the xml string: <not><child></not>

Returns
XML string for the prerequisite operator.

Implements psQuestPrereqOp.


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