Delete Instruction. More...

#include <rprginstdelete.h>

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

Public Member Functions

 RPrgInstDelete (RInterpreter *prg, const RString &var)
 
virtual void Run (RInterpreter *prg, RPrgOutput *o)
 
virtual ~RPrgInstDelete (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

RString Var
 

Detailed Description

Delete Instruction.

The RPrgInstDelete provides a class for a delete instruction.

Constructor & Destructor Documentation

RPrgInstDelete ( RInterpreter prg,
const RString var 
)

Construct a generic instruction.

Parameters
prgProgram.
varVariable.
virtual ~RPrgInstDelete ( 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

RString Var
private

Variable to delete.