![]() |
Spore ModAPI
2.4.0
API for creating C++ mods for Spore
|
This class is a type of IParser that can parse a single line of data. More...
#include <ICommand.h>
Public Member Functions | |
virtual void | SetData (FormatParser *pFormatParser, void *pData) override final |
Sets the data and FormatParser of this parser. More... | |
virtual | ~ICommand () |
![]() | |
IParser () | |
virtual void | ParseLine (const Line &line)=0 |
virtual const char * | GetDescription (DescriptionMode mode=kDescriptionBasic) const |
Returns a basic or complete description of what this parser does. More... | |
virtual int | AddRef () |
virtual int | Release () |
Additional Inherited Members | |
![]() | |
FormatParser * | mpFormatParser |
int | mnRefCount |
void * | mpData |
This class is a type of IParser that can parse a single line of data.
It is the standard class of parses and the most common. Classes that extend ICommand only need to provide implementation for the IParser::ParseLine() method.
|
inlinevirtual |
|
finaloverridevirtual |
Sets the data and FormatParser of this parser.
This method is called when FormatParser::AddParser() or IBlock::AddParser() are used.
Implements ArgScript::IParser.