String Variable. More...

#include <rprgvarstring.h>

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

Public Member Functions

virtual void Assign (const void *data)
 
virtual RString GetValue (RInterpreter *prg)
 
 RPrgVarString (const RString &name, const RString &value)
 
virtual ~RPrgVarString (void)
 
- Public Member Functions inherited from RPrgVar
int Compare (const RPrgVar &v) const
 
int Compare (const RString &v) const
 
RString GetName (void) const
 
RString GetType (void) const
 
 RPrgVar (const RString &name, const RString &type)
 
 RPrgVar (const RPrgVar &var)
 
virtual ~RPrgVar (void)
 

Private Attributes

RString String
 

Additional Inherited Members

- Protected Attributes inherited from RPrgVar
RString Name
 
RString Type
 

Detailed Description

String Variable.

The RPrgVarVal provides a class for a string variable.

Constructor & Destructor Documentation

RPrgVarString ( const RString name,
const RString value 
)

Construct the variable.

Parameters
nameName.
valueValue.
virtual ~RPrgVarString ( void  )
virtual

Destruct the variable.

Member Function Documentation

virtual void Assign ( const void *  data)
virtual

Assign some data to the variable.

Parameters
dataData.

Reimplemented from RPrgVar.

virtual RString GetValue ( RInterpreter prg)
virtual

Get the value of the variable.

Parameters
prgProgram.

Reimplemented from RPrgVar.

Member Data Documentation

RString String
private

Value of the variable.