|
HyperspaceExplorer 0.7.1
|
A value for a function parameter. Template depending on its type. More...
#include <FunctionParameterValue.h>


Public Member Functions | |
| FunctionParameterValue (const T &_value) | |
| Construct the FunctionParameterValue object with its actual value. | |
| virtual void | setValue (const char *) |
| Set a value from a string, as contained in a QLineEdit. | |
| virtual double | toDouble () const |
| virtual unsigned | toUnsigned () const |
| virtual int | toInt () const |
| virtual std::string | toString () const |
| Converts the parameter to string for printing. | |
| virtual VecMath::RotationBase | toRotationBase () const |
| virtual VecMath::Rotation< 5 > | toRotation5 () const |
| virtual VecMath::Rotation< 6 > | toRotation6 () const |
| virtual VecMath::Rotation< 7 > | toRotation7 () const |
| virtual VecMath::Rotation< 8 > | toRotation8 () const |
| virtual VecMath::Rotation< 9 > | toRotation9 () const |
| virtual VecMath::Rotation< 10 > | toRotation10 () const |
| template<> | |
| FunctionParameterValue (const double &value) | |
| template<> | |
| FunctionParameterValue (const unsigned &value) | |
| template<> | |
| FunctionParameterValue (const int &value) | |
| template<> | |
| FunctionParameterValue (const std::string &value) | |
| template<> | |
| FunctionParameterValue (const VecMath::Rotation< 5 > &value) | |
| template<> | |
| FunctionParameterValue (const VecMath::Rotation< 6 > &value) | |
| template<> | |
| FunctionParameterValue (const VecMath::Rotation< 7 > &value) | |
| template<> | |
| FunctionParameterValue (const VecMath::Rotation< 8 > &value) | |
| template<> | |
| FunctionParameterValue (const VecMath::Rotation< 9 > &value) | |
| template<> | |
| FunctionParameterValue (const VecMath::Rotation< 10 > &value) | |
| template<> | |
| double | toDouble () const |
| get a double parameter | |
| template<> | |
| unsigned | toUnsigned () const |
| get an unsigned parameter | |
| template<> | |
| int | toInt () const |
| get an integer parameter | |
| template<> | |
| VecMath::Rotation< 5 > | toRotation5 () const |
| get a Rotation<5> parm | |
| template<> | |
| VecMath::RotationBase | toRotationBase () const |
| get a RotationBase parameter | |
| template<> | |
| VecMath::Rotation< 6 > | toRotation6 () const |
| get a Rotation<6> parm | |
| template<> | |
| VecMath::RotationBase | toRotationBase () const |
| get a RotationBase parameter | |
| template<> | |
| VecMath::Rotation< 7 > | toRotation7 () const |
| get a Rotation<7> parm | |
| template<> | |
| VecMath::RotationBase | toRotationBase () const |
| get a RotationBase parameter | |
| template<> | |
| VecMath::Rotation< 8 > | toRotation8 () const |
| get a Rotation<8> parm | |
| template<> | |
| VecMath::RotationBase | toRotationBase () const |
| get a RotationBase parameter | |
| template<> | |
| VecMath::Rotation< 9 > | toRotation9 () const |
| get a Rotation<9> parm | |
| template<> | |
| VecMath::RotationBase | toRotationBase () const |
| get a RotationBase parameter | |
| template<> | |
| VecMath::Rotation< 10 > | toRotation10 () const |
| get a Rotation<10> parm | |
| template<> | |
| VecMath::RotationBase | toRotationBase () const |
| get a RotationBase parameter | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
| template<> | |
| void | setValue (const char *value) |
| set a parameter using a C-style string, distinguishing from a std::string | |
Private Attributes | |
| T | _value |
| The actual value of the parameter. | |
A value for a function parameter. Template depending on its type.
Defines the interface declared by FunctionParameterValueBase:
| T | Type of the parameter to be declared. |
| virtual double FunctionParameterValue< T >::toDouble | ( | ) | const [inline, virtual] |
Default implementation for cast to double. Concrete implementation will be defined in FunctionParameterValue<double>.
Implements FunctionParameterValueBase.
| virtual int FunctionParameterValue< T >::toInt | ( | ) | const [inline, virtual] |
Default implementation for cast to int. Concrete implementation will be defined in FunctionParameterValue<int>.
Implements FunctionParameterValueBase.
| virtual VecMath::Rotation<10> FunctionParameterValue< T >::toRotation10 | ( | ) | const [inline, virtual] |
Default implementation for cast to Rotation<10>. Concrete implementation will be defined in FunctionParameterValue< Rotation<10> >.
Implements FunctionParameterValueBase.
| virtual VecMath::Rotation<5> FunctionParameterValue< T >::toRotation5 | ( | ) | const [inline, virtual] |
Default implementation for cast to Rotation<5>. Concrete implementation will be defined in FunctionParameterValue< Rotation<5> >.
Implements FunctionParameterValueBase.
| virtual VecMath::Rotation<6> FunctionParameterValue< T >::toRotation6 | ( | ) | const [inline, virtual] |
Default implementation for cast to Rotation<6>. Concrete implementation will be defined in FunctionParameterValue< Rotation<6> >.
Implements FunctionParameterValueBase.
| virtual VecMath::Rotation<7> FunctionParameterValue< T >::toRotation7 | ( | ) | const [inline, virtual] |
Default implementation for cast to Rotation<7>. Concrete implementation will be defined in FunctionParameterValue< Rotation<7> >.
Implements FunctionParameterValueBase.
| virtual VecMath::Rotation<8> FunctionParameterValue< T >::toRotation8 | ( | ) | const [inline, virtual] |
Default implementation for cast to Rotation<8>. Concrete implementation will be defined in FunctionParameterValue< Rotation<8> >.
Implements FunctionParameterValueBase.
| virtual VecMath::Rotation<9> FunctionParameterValue< T >::toRotation9 | ( | ) | const [inline, virtual] |
Default implementation for cast to Rotation<9>. Concrete implementation will be defined in FunctionParameterValue< Rotation<9> >.
Implements FunctionParameterValueBase.
| virtual VecMath::RotationBase FunctionParameterValue< T >::toRotationBase | ( | ) | const [inline, virtual] |
Default implementation for cast to RotationBase. Concrete implementation will be defined in FunctionParameterValue< Rotation<D> >.
Implements FunctionParameterValueBase.
| virtual unsigned FunctionParameterValue< T >::toUnsigned | ( | ) | const [inline, virtual] |
Default implementation for cast to unsigned. Concrete implementation will be defined in FunctionParameterValue<unsigned>.
Implements FunctionParameterValueBase.
1.7.4
-
Hosted by