An example Value: a float.
More...
#include <example.h>
|
| FloatValue () |
| Default constructor.
|
|
| FloatValue (const float &v) |
| Instantiated constructor. More...
|
|
bool | get_scalar (const Property &prop, double &value) const |
| Get the scalar value. More...
|
|
bool | set_scalar (const Property &prop, const double &value) |
| Set the scalar value. More...
|
|
bool | copy (const Property &prop, Value &to, const Property &to_prop) const |
| Copy the data to another Value. More...
|
|
virtual bool | get_size (const Property &prop, size_t &size) const |
| Get the size of the list Value. More...
|
|
virtual bool | get_item (const Property &prop, const size_t &num, double &value) const |
| Get an item of the list Value. More...
|
|
virtual bool | set_size (const Property &prop, const size_t &size) |
| Prepare the list Value to recieve a number of items. More...
|
|
virtual bool | set_item (const Property &prop, const size_t &num, const double &value) |
| Set an item of the list Value. More...
|
|
virtual bool | get_string (const Property &prop, char *str) const |
| Get the string Value. More...
|
|
virtual bool | set_string (const Property &prop, const char *str) |
| Set the string Value. More...
|
|
|
float | val |
| The data value;.
|
|
An example Value: a float.
PLY::FloatValue::FloatValue |
( |
const float & |
v) | |
|
|
inline |
Instantiated constructor.
- Parameters
-
bool PLY::FloatValue::get_scalar |
( |
const Property & |
prop, |
|
|
double & |
value |
|
) |
| const |
|
inlinevirtual |
Get the scalar value.
- Parameters
-
- Returns
- true if the Value could be read.
Reimplemented from PLY::Value.
bool PLY::FloatValue::set_scalar |
( |
const Property & |
prop, |
|
|
const double & |
value |
|
) |
| |
|
inlinevirtual |
Set the scalar value.
- Parameters
-
- Returns
- true if the Value could be set.
Reimplemented from PLY::Value.
The documentation for this struct was generated from the following file: