|
Nori
|
This is a sssociative container used to supply the constructors of NoriObject subclasses with parameter information. More...
#include <proplist.h>
Public Member Functions | |
| PropertyList () | |
| void | setBoolean (const QString &name, const bool &value) |
| Set a boolean property. | |
| bool | getBoolean (const QString &name) const |
| Get a boolean property, and throw an exception if it does not exist. | |
| bool | getBoolean (const QString &name, const bool &defaultValue) const |
| Get a boolean property, and use a default value if it does not exist. | |
| void | setInteger (const QString &name, const int &value) |
| Set an integer property. | |
| int | getInteger (const QString &name) const |
| Get an integer property, and throw an exception if it does not exist. | |
| int | getInteger (const QString &name, const int &defaultValue) const |
| Get am integer property, and use a default value if it does not exist. | |
| void | setFloat (const QString &name, const float &value) |
| Set a float property. | |
| float | getFloat (const QString &name) const |
| Get a float property, and throw an exception if it does not exist. | |
| float | getFloat (const QString &name, const float &defaultValue) const |
| Get a float property, and use a default value if it does not exist. | |
| void | setString (const QString &name, const QString &value) |
| Set a string property. | |
| QString | getString (const QString &name) const |
| Get a string property, and throw an exception if it does not exist. | |
| QString | getString (const QString &name, const QString &defaultValue) const |
| Get a string property, and use a default value if it does not exist. | |
| void | setColor (const QString &name, const Color3f &value) |
| Set a color property. | |
| Color3f | getColor (const QString &name) const |
| Get a color property, and throw an exception if it does not exist. | |
| Color3f | getColor (const QString &name, const Color3f &defaultValue) const |
| Get a color property, and use a default value if it does not exist. | |
| void | setPoint (const QString &name, const Point3f &value) |
| Set a point property. | |
| Point3f | getPoint (const QString &name) const |
| Get a point property, and throw an exception if it does not exist. | |
| Point3f | getPoint (const QString &name, const Point3f &defaultValue) const |
| Get a point property, and use a default value if it does not exist. | |
| void | setVector (const QString &name, const Vector3f &value) |
| Set a vector property. | |
| Vector3f | getVector (const QString &name) const |
| Get a vector property, and throw an exception if it does not exist. | |
| Vector3f | getVector (const QString &name, const Vector3f &defaultValue) const |
| Get a vector property, and use a default value if it does not exist. | |
| void | setTransform (const QString &name, const Transform &value) |
| Set a transform property. | |
| Transform | getTransform (const QString &name) const |
| Get a transform property, and throw an exception if it does not exist. | |
| Transform | getTransform (const QString &name, const Transform &defaultValue) const |
| Get a transform property, and use a default value if it does not exist. | |
This is a sssociative container used to supply the constructors of NoriObject subclasses with parameter information.
Definition at line 33 of file proplist.h.
| PropertyList::PropertyList | ( | ) | [inline] |
Definition at line 35 of file proplist.h.
| bool PropertyList::getBoolean | ( | const QString & | name | ) | const |
Get a boolean property, and throw an exception if it does not exist.
| bool PropertyList::getBoolean | ( | const QString & | name, |
| const bool & | defaultValue | ||
| ) | const |
Get a boolean property, and use a default value if it does not exist.
| Color3f PropertyList::getColor | ( | const QString & | name | ) | const |
Get a color property, and throw an exception if it does not exist.
Get a color property, and use a default value if it does not exist.
| float PropertyList::getFloat | ( | const QString & | name | ) | const |
Get a float property, and throw an exception if it does not exist.
| float PropertyList::getFloat | ( | const QString & | name, |
| const float & | defaultValue | ||
| ) | const |
Get a float property, and use a default value if it does not exist.
| int PropertyList::getInteger | ( | const QString & | name | ) | const |
Get an integer property, and throw an exception if it does not exist.
| int PropertyList::getInteger | ( | const QString & | name, |
| const int & | defaultValue | ||
| ) | const |
Get am integer property, and use a default value if it does not exist.
| Point3f PropertyList::getPoint | ( | const QString & | name | ) | const |
Get a point property, and throw an exception if it does not exist.
Get a point property, and use a default value if it does not exist.
| QString PropertyList::getString | ( | const QString & | name | ) | const |
Get a string property, and throw an exception if it does not exist.
| QString PropertyList::getString | ( | const QString & | name, |
| const QString & | defaultValue | ||
| ) | const |
Get a string property, and use a default value if it does not exist.
| Transform PropertyList::getTransform | ( | const QString & | name | ) | const |
Get a transform property, and throw an exception if it does not exist.
Get a transform property, and use a default value if it does not exist.
Get a vector property, and use a default value if it does not exist.
| Vector3f PropertyList::getVector | ( | const QString & | name | ) | const |
Get a vector property, and throw an exception if it does not exist.
| void PropertyList::setBoolean | ( | const QString & | name, |
| const bool & | value | ||
| ) |
Set a boolean property.
| void PropertyList::setColor | ( | const QString & | name, |
| const Color3f & | value | ||
| ) |
Set a color property.
| void PropertyList::setFloat | ( | const QString & | name, |
| const float & | value | ||
| ) |
Set a float property.
| void PropertyList::setInteger | ( | const QString & | name, |
| const int & | value | ||
| ) |
Set an integer property.
| void PropertyList::setPoint | ( | const QString & | name, |
| const Point3f & | value | ||
| ) |
Set a point property.
| void PropertyList::setString | ( | const QString & | name, |
| const QString & | value | ||
| ) |
Set a string property.
| void PropertyList::setTransform | ( | const QString & | name, |
| const Transform & | value | ||
| ) |
Set a transform property.
| void PropertyList::setVector | ( | const QString & | name, |
| const Vector3f & | value | ||
| ) |
Set a vector property.