LibCT 2.0
Public Member Functions

LibCT::IntValue Class Reference

A IntValue is a specialised TemplateVariable for holding int values. More...

#include <IntValue.h>

Inheritance diagram for LibCT::IntValue:
LibCT::TemplateVariable< int > LibCT::VariableInterface

List of all members.

Public Member Functions

 IntValue (VariableContainer *pContainer, const std::string &name)
 Constructor.
std::string ToString () const
VariableType GetType () const
std::string GetTypeString () const

Detailed Description

A IntValue is a specialised TemplateVariable for holding int values.


Constructor & Destructor Documentation

LibCT::IntValue::IntValue ( VariableContainer pContainer,
const std::string &  name 
) [inline]

Constructor.


Member Function Documentation

VariableType LibCT::IntValue::GetType ( ) const [inline, virtual]

Get the type of this variable

Returns:
VariableTypeInt

Reimplemented from LibCT::TemplateVariable< int >.

std::string LibCT::IntValue::GetTypeString ( ) const [inline, virtual]

Get the string version of the type

Returns:
"Int"

Implements LibCT::VariableInterface.

std::string LibCT::IntValue::ToString ( ) const [inline, virtual]

Get a string representation of the value

Returns:
m_Value as a string

Implements LibCT::VariableInterface.


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