Console::Variable Class Reference

#include <Variable.h>

Inheritance diagram for Console::Variable:

Console::VariableTemplate< T > Console::VariableTemplate< bool > Console::VariableTemplate< std::string > List of all members.

Public Member Functions

virtual std::string getValue () const =0
virtual std::string setValue (const std::string &parameter)=0

Detailed Description

Represents a variable whose value can be set and retrieved.


Member Function Documentation

virtual std::string Console::Variable::getValue  )  const [pure virtual]
 

Gets the value of the variable as a string.

Returns:
the value of the variable as a string.

Implemented in Console::VariableTemplate< T >, Console::VariableTemplate< std::string >, and Console::VariableTemplate< bool >.

virtual std::string Console::Variable::setValue const std::string &  parameter  )  [pure virtual]
 

Tries to set the value of the variable as a string.

Parameters:
parameter the value to attempt to set the variable to.
Returns:
the new value of the variable, or an error string if the parameter was illegal.

Implemented in Console::VariableTemplate< T >, Console::VariableTemplate< std::string >, and Console::VariableTemplate< bool >.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 08:42:48 2006 for GPU Thesis by  doxygen 1.4.6-NO