LibCT 2.0
Public Member Functions

LibCT::StringValue Class Reference

A StringValue is a specialised TemplateVariable for holding string values. More...

#include <StringValue.h>

Inheritance diagram for LibCT::StringValue:
LibCT::TemplateVariable< std::string > LibCT::VariableInterface

List of all members.

Public Member Functions

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

Detailed Description

A StringValue is a specialised TemplateVariable for holding string values.


Constructor & Destructor Documentation

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

Constructor.


Member Function Documentation

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

Get the type of this variable

Returns:
VariableTypeString

Reimplemented from LibCT::TemplateVariable< std::string >.

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

Get the string version of the type

Returns:
"String"

Implements LibCT::VariableInterface.

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

Get a string representation of the value

Returns:
m_Value (no conversion needed)

Implements LibCT::VariableInterface.


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