LibCT 2.0
Public Member Functions

LibCT::FloatValue Class Reference

A FloatValue is a specialised TemplateVariable for holding float values. More...

#include <FloatValue.h>

Inheritance diagram for LibCT::FloatValue:
LibCT::TemplateVariable< float > LibCT::VariableInterface

List of all members.

Public Member Functions

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

Detailed Description

A FloatValue is a specialised TemplateVariable for holding float values.


Constructor & Destructor Documentation

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

Constructor.


Member Function Documentation

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

Get the type of this variable

Returns:
VariableTypeFloat

Reimplemented from LibCT::TemplateVariable< float >.

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

Get the string version of the type

Returns:
"Float"

Implements LibCT::VariableInterface.

std::string LibCT::FloatValue::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: