This is a linked list of or clauses, each containing a list of and clauses. More...
#include <Scripts.h>
Inherits MemoryPoolObject.
Public Member Functions | |
| OrCondition () | |
| OrCondition * | duplicate (void) const |
| Duplicate creates a "deep" copy. If it is head of a linked list, duplicates the entire list. | |
| OrCondition * | duplicateAndQualify (const AsciiString &qualifier, const AsciiString &playerTemplateName, const AsciiString &newPlayerName) const |
| void | setNextOrCondition (OrCondition *pOr) |
| void | setFirstAndCondition (Condition *pAnd) |
| OrCondition * | getNextOrCondition (void) |
| Condition * | getFirstAndCondition (void) |
| Condition * | removeCondition (Condition *pCond) |
| void | deleteCondition (Condition *pCond) |
| Condition * | findPreviousCondition (Condition *curCond) |
Public Member Functions inherited from MemoryPoolObject | |
| void | deleteInstance () |
Static Public Member Functions | |
| static void | WriteOrConditionDataChunk (DataChunkOutput &chunkWriter, OrCondition *pCondition) |
| static Bool | ParseOrConditionDataChunk (DataChunkInput &file, DataChunkInfo *info, void *userData) |
Protected Attributes | |
| OrCondition * | m_nextOr |
| Condition * | m_firstAnd |
Additional Inherited Members | |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
This is a linked list of or clauses, each containing a list of and clauses.
| void OrCondition::deleteCondition | ( | Condition * | pCond | ) |
Definition at line 1431 of file Scripts.cpp.
| OrCondition * OrCondition::duplicate | ( | void | ) | const |
Duplicate creates a "deep" copy. If it is head of a linked list, duplicates the entire list.
Definition at line 1370 of file Scripts.cpp.
| OrCondition * OrCondition::duplicateAndQualify | ( | const AsciiString & | qualifier, |
| const AsciiString & | playerTemplateName, | ||
| const AsciiString & | newPlayerName ) const |
Definition at line 1389 of file Scripts.cpp.
OrCondition::findPreviousCondition - find the condition that immediately proceeds curCond. Format is the newer CHUNKY format. See OrCondition::WriteOrConditionDataChunk for the writer. Input: DataChunkInput
Definition at line 1491 of file Scripts.cpp.
|
inline |
|
inline |
|
static |
OrCondition::ParseOrConditionDataChunk - read a Or condition chunk. Format is the newer CHUNKY format. See OrCondition::WriteOrConditionDataChunk for the writer. Input: DataChunkInput
Definition at line 1466 of file Scripts.cpp.
Definition at line 1409 of file Scripts.cpp.
|
inline |
|
inline |
|
static |
OrCondition::WriteOrConditionDataChunk - Writes a Or condition chunk. Format is the newer CHUNKY format. Input: DataChunkInput
Definition at line 1447 of file Scripts.cpp.
|
protected |