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

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)

Definition at line 799 of file aisc_commands.c.

Member Function Documentation

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

Implements Command.

Definition at line 800 of file aisc_commands.c.

int NamedCommand::length ( ) const

Definition at line 801 of file aisc_commands.c.

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