Public Member Functions |
| Value (const T &x) |
| Value (const ValueBase &x) |
T | get () const |
void | put (T *x) const |
| Put template for any class.
|
void | set (const T &x) |
| Set template for any class.
|
Value< T > & | operator= (const T &x) |
Value< T > & | operator= (const Value< T > &x) |
Value< T > & | operator= (const ValueBase &x) |
| Operator asignation for ValueBase classes. Does a exact copy of .
|
| ValueBase () |
| Default constructor.
|
template<typename T > |
| ValueBase (const T &x, bool loop_=false, bool static_=false) |
| Template constructor for any type.
|
template<typename T > |
| ValueBase (const std::vector< T > &x, bool loop_=false, bool static_=false) |
| ValueBase (Type &x) |
| Copy constructor. The data is not copied, just the type.
|
| ~ValueBase () |
| Default destructor.
|
bool | operator== (const ValueBase &rhs) const |
| Eqaul than operator. Segment, Gradient and Bline Points cannot be compared.
|
bool | operator!= (const ValueBase &rhs) const |
| Not equal than operator.
|
const ValueBase & | operator[] (int index) const |
| Constant index operator for when value is of type TYPE_LIST.
|
void | clear () |
| Deletes the data only if the ref count is zero.
|
bool | get_loop () const |
| Gets the loop option.
|
void | set_loop (bool x) |
| Sets the loop option.
|
bool | get_static () const |
| Gets the static option.
|
void | set_static (bool x) |
| Sets the static option.
|
Interpolation | get_interpolation () const |
| Gets the interpolation.
|
void | set_interpolation (Interpolation x) |
| Sets the interpolation.
|
void | copy (const ValueBase &x) |
| Create independent copy from existing ValueBase object.
|
void | copy_properties_of (const ValueBase &x) |
| Copies properties (static, interpolation, etc) from other ValueBase object.
|
bool | empty () const |
| True if the Value is not valid or is type LIST and is empty.
|
Type & | get_contained_type () const |
| Gets the contained type in the Value Base.
|
bool | is_valid () const |
| Returns true if the contained value is defined and valid.
|
String | type_name () const |
| Returns a string containing the name of the type. Used for sif files.
|
Type & | get_type () const |
| Returns the type of the contained value.
|
template<typename T > |
bool | can_get (const T &x) const |
template<typename T > |
bool | can_set (const T &x) const |
template<typename T > |
bool | can_put (const T &x) const |
bool | can_copy_from (const TypeId type) const |
bool | can_copy_from (const Type &type) const |
bool | can_copy_to (const TypeId type) const |
bool | can_copy_to (const Type &type) const |
template<typename T > |
bool | same_type_as (const T &x) const |
template<typename T > |
const T & | get (const T &x) const |
| Template to get the ValueBase class data by casting the type.
|
const List & | get_list () const |
| Gets the data as List Type.
|
template<typename T > |
std::vector< T > | get_list_of (const T &x) const |
template<typename T > |
void | set_list_of (const std::vector< T > &list) |