Spore ModAPI  2.4.0
API for creating C++ mods for Spore
Public Member Functions | List of all members
ArgScript::ICommand Class Reference

This class is a type of IParser that can parse a single line of data. More...

#include <ICommand.h>

Inheritance diagram for ArgScript::ICommand:
ArgScript::IParser

Public Member Functions

virtual void SetData (FormatParser *pFormatParser, void *pData) override final
 Sets the data and FormatParser of this parser. More...
 
virtual ~ICommand ()
 
- Public Member Functions inherited from ArgScript::IParser
 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

- Protected Attributes inherited from ArgScript::IParser
FormatParsermpFormatParser
 
int mnRefCount
 
void * mpData
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ICommand()

virtual ArgScript::ICommand::~ICommand ( )
inlinevirtual

Member Function Documentation

◆ SetData()

virtual void ArgScript::ICommand::SetData ( FormatParser pFormatParser,
void *  pData 
)
finaloverridevirtual

Sets the data and FormatParser of this parser.

This method is called when FormatParser::AddParser() or IBlock::AddParser() are used.

Implements ArgScript::IParser.


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