Static Public Member Functions |
static bool | getValueBool (const AbstractProperty &p, int index=-1) |
static void | setValueBool (bool v, AbstractProperty &p, int index=-1) |
static void | appendValueBool (bool v, AbstractProperty &p) |
static int | getValueInt (const AbstractProperty &p, int index=-1) |
static void | setValueInt (int v, AbstractProperty &p, int index=-1) |
static void | appendValueInt (int v, AbstractProperty &p) |
static double | getValueDouble (const AbstractProperty &p, int index=-1) |
static void | setValueDouble (double v, AbstractProperty &p, int index=-1) |
static void | appendValueDouble (double v, AbstractProperty &p) |
static std::string | getValueString (const AbstractProperty &p, int index=-1) |
static void | setValueString (const std::string &v, AbstractProperty &p, int index=-1) |
static void | appendValueString (const std::string &v, AbstractProperty &p) |
static double | getValueTransform (const AbstractProperty &p, int index) |
static void | setValueTransform (double v, AbstractProperty &p, int index) |
static double | getValueVec3 (const AbstractProperty &p, int index) |
static void | setValueVec3 (double v, AbstractProperty &p, int index) |
This class allows access to property values using template-free methods.
Note that this will work regardless of whether the given AbstractProperty is the deprecated kind or the new one.
An AbstractProperty represents a (name, list-of-values) pair, possibly with restrictions on the minimum and maximum list length. Basic container methods size(), resize(), clear(), and empty() are available; use resize() before assigning a value to an indexed element.
For properties that contain objects, you can obtain the values directly from the base class via non-templatized methods.