Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::CommandParser Class Referenceabstract

A utility class used to process a string input. More...

#include <CommandParser.h>

+ Inheritance diagram for Divide::CommandParser:

Public Member Functions

 CommandParser () noexcept=default
 
virtual ~CommandParser ()=default
 
virtual bool processCommand (const string &commandString)=0
 If we need a parser , just override this.
 

Protected Attributes

hashMap< U64, DELEGATE< void, string > > _commands
 

Detailed Description

A utility class used to process a string input.

Definition at line 39 of file CommandParser.h.

Constructor & Destructor Documentation

◆ CommandParser()

Divide::CommandParser::CommandParser ( )
defaultnoexcept

◆ ~CommandParser()

virtual Divide::CommandParser::~CommandParser ( )
virtualdefault

Member Function Documentation

◆ processCommand()

virtual bool Divide::CommandParser::processCommand ( const string commandString)
pure virtual

If we need a parser , just override this.

Implemented in Divide::GUIConsoleCommandParser.

Member Data Documentation

◆ _commands

hashMap<U64 , DELEGATE<void, string > > Divide::CommandParser::_commands
protected

Definition at line 47 of file CommandParser.h.


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