Delete Instruction. More...

#include <rprginstprint.h>

Inheritance diagram for RPrgInstPrint:
[legend]
Collaboration diagram for RPrgInstPrint:
[legend]

Public Member Functions

 RPrgInstPrint (RInterpreter *prg, RPrgVar *what)
 
virtual void Run (RInterpreter *prg, RPrgOutput *o)
 
virtual ~RPrgInstPrint (void)
 
- Public Member Functions inherited from RPrgInst
int Compare (const RPrgInst &t) const
 
int Compare (const RString &t) const
 
size_t GetLine (void) const
 
 RPrgInst (size_t line)
 
virtual ~RPrgInst (void)
 

Private Attributes

RPrgVarWhat
 

Detailed Description

Delete Instruction.

The RPrgInstPrint provides a class for a delete instruction.

Constructor & Destructor Documentation

RPrgInstPrint ( RInterpreter prg,
RPrgVar what 
)

Construct a generic instruction.

Parameters
prgProgram.
whatWhat to print.
virtual ~RPrgInstPrint ( void  )
virtual

Destruct the generic instruction.

Member Function Documentation

virtual void Run ( RInterpreter prg,
RPrgOutput o 
)
virtual

Run the instruction.

Parameters
prgProgram.
oOutput.

Reimplemented from RPrgInst.

Member Data Documentation

RPrgVar* What
private

What to print.