A Value holding a single number. More...
#include <Value.h>
Public Member Functions | |
Value1 (const string &name) | |
Creates an uninitialized Value1. | |
Value1 (const string &name, T value) | |
Creates a Value1. | |
virtual | ~Value1 () |
Deletes this Value1. | |
virtual UniformType | getType () const |
Returns the type of this value. | |
T | get () const |
Returns the current value of this Value1. | |
void | set (T value) |
Sets the value of this Value1. |
A Value holding a single number.
ork::Value1< U, T, V >::Value1 | ( | const string & | name | ) | [inline] |
Creates an uninitialized Value1.
ork::Value1< U, T, V >::Value1 | ( | const string & | name, | |
T | value | |||
) | [inline] |
Creates a Value1.
virtual ork::Value1< U, T, V >::~Value1 | ( | ) | [inline, virtual] |
Deletes this Value1.
T ork::Value1< U, T, V >::get | ( | ) | const [inline] |
Returns the current value of this Value1.
virtual UniformType ork::Value1< U, T, V >::getType | ( | ) | const [inline, virtual] |
Returns the type of this value.
Implements ork::Value.
void ork::Value1< U, T, V >::set | ( | T | value | ) | [inline] |