HGL::Type::FloatParam Class Reference
[TypesParameter types]

#include <floatparam.h>

Inheritance diagram for HGL::Type::FloatParam:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual IType::Ptr clone () const throw (Exception::CloneNotSupportedException)
 Creates a clone of the type.
virtual operator float () const throw (Exception::ReferenceException, Exception::InvalidExpressionException)
 Converts the type into a float.
virtual operator Type::StringParam & () const throw (Exception::InvalidExpressionException)
 Converts the type into a HGL::Type::StringParam.
virtual operator Type::Vector2D & () const throw (Exception::InvalidExpressionException)
 Converts the type into a HGL::Type::Vector2D.
virtual const std::string toString () const
 Gets the string representation of a parameter type.

Protected Member Functions

const SerialIDgetSerialID () const
 Gets the serialization ID of the object.

Detailed Description

Author:
Heiko Schäfer <heiko@hgl.rangun.de>

Member Function Documentation

HGL::IType::Ptr FloatParam::clone (  )  const throw (Exception::CloneNotSupportedException) [virtual]

Creates a clone of the type.

Returns:
a smart pointer to the cloned type

Reimplemented from HGL::Type::TypeBase.

const HGL::Type::SerialID & FloatParam::getSerialID (  )  const [protected, virtual]

Gets the serialization ID of the object.

Returns:
the serialization ID of the object

Implements HGL::IType.

FloatParam::operator float (  )  const throw (Exception::ReferenceException, Exception::InvalidExpressionException) [virtual]

Converts the type into a float.

Returns:
the type as float

Reimplemented from HGL::Type::TypeBase.

FloatParam::operator Type::StringParam & (  )  const throw (Exception::InvalidExpressionException) [virtual]

Converts the type into a HGL::Type::StringParam.

Returns:
the type as HGL::Type::StringParam

Reimplemented from HGL::Type::TypeBase.

FloatParam::operator Type::Vector2D & (  )  const throw (Exception::InvalidExpressionException) [virtual]

Converts the type into a HGL::Type::Vector2D.

Returns:
the type as HGL::Type::Vector2D reference

Reimplemented from HGL::Type::TypeBase.

const std::string FloatParam::toString (  )  const [virtual]

Gets the string representation of a parameter type.

Returns:
the string representation of a parameter type

Implements HGL::Type::ParamBase.


Generated on 9 Apr 2014 for hgl 0.5.26~svn by  doxygen 1.6.1