This is an associative container used to supply the constructors of NoriObject subclasses with parameter information. More...
#include <proplist.h>
Public Member Functions | |
bool | has (const std::string &name) const |
void | setBoolean (const std::string &name, const bool &value) |
Set a boolean property. | |
bool | getBoolean (const std::string &name) const |
Get a boolean property, and throw an exception if it does not exist. | |
bool | getBoolean (const std::string &name, const bool &defaultValue) const |
Get a boolean property, and use a default value if it does not exist. | |
void | setInteger (const std::string &name, const int &value) |
Set an integer property. | |
int | getInteger (const std::string &name) const |
Get an integer property, and throw an exception if it does not exist. | |
int | getInteger (const std::string &name, const int &defaultValue) const |
Get am integer property, and use a default value if it does not exist. | |
void | setFloat (const std::string &name, const float &value) |
Set a float property. | |
float | getFloat (const std::string &name) const |
Get a float property, and throw an exception if it does not exist. | |
float | getFloat (const std::string &name, const float &defaultValue) const |
Get a float property, and use a default value if it does not exist. | |
void | setString (const std::string &name, const std::string &value) |
Set a string property. | |
std::string | getString (const std::string &name) const |
Get a string property, and throw an exception if it does not exist. | |
std::string | getString (const std::string &name, const std::string &defaultValue) const |
Get a string property, and use a default value if it does not exist. | |
void | setColor (const std::string &name, const Color3f &value) |
Set a color property. | |
Color3f | getColor (const std::string &name) const |
Get a color property, and throw an exception if it does not exist. | |
Color3f | getColor (const std::string &name, const Color3f &defaultValue) const |
Get a color property, and use a default value if it does not exist. | |
void | setPoint3 (const std::string &name, const Point3f &value) |
Set a point property. | |
Point3f | getPoint3 (const std::string &name) const |
Get a point property, and throw an exception if it does not exist. | |
Point3f | getPoint3 (const std::string &name, const Point3f &defaultValue) const |
Get a point property, and use a default value if it does not exist. | |
void | setVector3 (const std::string &name, const Vector3f &value) |
Set a vector property. | |
Vector3f | getVector3 (const std::string &name) const |
Get a vector property, and throw an exception if it does not exist. | |
Vector3f | getVector3 (const std::string &name, const Vector3f &defaultValue) const |
Get a vector property, and use a default value if it does not exist. | |
void | setPoint2 (const std::string &name, const Point2f &value) |
Set a point property. | |
Point2f | getPoint2 (const std::string &name) const |
Get a point property, and throw an exception if it does not exist. | |
Point2f | getPoint2 (const std::string &name, const Point2f &defaultValue) const |
Get a point property, and use a default value if it does not exist. | |
void | setVector2 (const std::string &name, const Vector2f &value) |
Set a vector property. | |
Vector2f | getVector2 (const std::string &name) const |
Get a vector property, and throw an exception if it does not exist. | |
Vector2f | getVector2 (const std::string &name, const Vector2f &defaultValue) const |
Get a vector property, and use a default value if it does not exist. | |
void | setTransform (const std::string &name, const Transform &value) |
Set a transform property. | |
Transform | getTransform (const std::string &name) const |
Get a transform property, and throw an exception if it does not exist. | |
Transform | getTransform (const std::string &name, const Transform &defaultValue) const |
Get a transform property, and use a default value if it does not exist. | |
This is an associative container used to supply the constructors of NoriObject subclasses with parameter information.
Definition at line 32 of file proplist.h.