ARB
Public Member Functions | Protected Member Functions | List of all members
NamedCommand Class Reference
Inheritance diagram for NamedCommand:
Inheritance graph
[legend]
Collaboration diagram for NamedCommand:
Collaboration graph
[legend]

Public Member Functions

 NamedCommand (const char *cmd)
 
bool matches (const char *code) const OVERRIDE
 
int length () const
 
- Public Member Functions inherited from Command
virtual ~Command ()
 
virtual int call (Interpreter &interpret) const =0
 
const Locationpc () const
 

Protected Member Functions

virtual int check_result (int res, char *evaluated_args) const
 

Detailed Description

Definition at line 773 of file aisc_commands.c.

Constructor & Destructor Documentation

NamedCommand::NamedCommand ( const char cmd)
inline

Definition at line 799 of file aisc_commands.c.

Member Function Documentation

virtual int NamedCommand::check_result ( int  res,
char evaluated_args 
) const
inlineprotectedvirtual
bool NamedCommand::matches ( const char code) const
inlinevirtual

Implements Command.

Definition at line 800 of file aisc_commands.c.

int NamedCommand::length ( ) const
inline

Definition at line 801 of file aisc_commands.c.


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