Plasma Engine  2.0
Loading...
Searching...
No Matches
plCommandInterpreter Class Referenceabstract
Inheritance diagram for plCommandInterpreter:

Public Member Functions

virtual void Interpret (plCommandInterpreterState &inout_state)=0
 
virtual void AutoComplete (plCommandInterpreterState &inout_state)
 
- Public Member Functions inherited from plRefCounted
virtual ~plRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from plRefCountingImpl
 plRefCountingImpl ()=default
 Constructor.
 
 plRefCountingImpl (const plRefCountingImpl &rhs)
 
void operator= (const plRefCountingImpl &rhs)
 
plInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
plInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
plInt32 GetRefCount () const
 Returns the current reference count.
 

Static Public Member Functions

static void FindPossibleCVars (plStringView sVariable, plDeque< plString > &ref_commonStrings, plDeque< plConsoleString > &ref_consoleStrings)
 Iterates over all cvars and finds all that start with the string szVariable.
 
static void FindPossibleFunctions (plStringView sVariable, plDeque< plString > &ref_commonStrings, plDeque< plConsoleString > &ref_consoleStrings)
 Iterates over all console functions and finds all that start with the string szVariable.
 
static const plString FindCommonString (const plDeque< plString > &strings)
 Returns the prefix string that is common to all strings in the vStrings array.
 

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