|
Public Member Functions |
| | PropertySet (OfxPropertySetHandle h=0) |
| | construct a property set
|
| virtual | ~PropertySet () |
| | Virtual destructor.
|
| void | propSetHandle (OfxPropertySetHandle h) |
| | set the handle to use for this set
|
| OfxPropertySetHandle | propSetHandle (void) |
| | return the handle for this property set
|
| int | propGetDimension (const char *property, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | , returns the dimension of the given property from this property set
|
| void | propReset (const char *property) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | , resets the property to it's default value
|
| void | propSetPointer (const char *property, void *value, int idx, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | , Set a single dimension pointer property
|
| void | propSetString (const char *property, const std::string &value, int idx, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | , Set a single dimension string property
|
| void | propSetDouble (const char *property, double value, int idx, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | , Set a single dimension double property
|
| void | propSetInt (const char *property, int value, int idx, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | , Set a single dimension int property
|
| void | propSetPointer (const char *property, void *value, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| void | propSetString (const char *property, const std::string &value, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| void | propSetDouble (const char *property, double value, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| void | propSetInt (const char *property, int value, bool throwOnFailure=true) throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| void * | propGetPointer (const char *property, int idx, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | Get single pointer property.
|
| std::string | propGetString (const char *property, int idx, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | Get single string property.
|
| double | propGetDouble (const char *property, int idx, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | Get single double property.
|
| int | propGetInt (const char *property, int idx, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | Get single int property.
|
| void * | propGetPointer (const char *property, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | get a string property with index 0
|
| std::string | propGetString (const char *property, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | get a string property with index 0
|
| double | propGetDouble (const char *property, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | get a double property with index 0
|
| int | propGetInt (const char *property, bool throwOnFailure=true) const throw (std::bad_alloc, OFX::Exception::PropertyUnknownToHost, OFX::Exception::PropertyValueIllegalToHost, OFX::Exception::Suite) |
| | get an int property with index 0
|
Static Public Member Functions |
| void | propEnableLogging (void) |
| | turns on logging of property access functions
|
| void | propDisableLogging (void) |
| | turns off logging of property access functions
|
| void | setThrowOnUnsupportedProperties (bool v) |
| | Do we throw an exception if a host returns 'unsupported' when setting a property. Default is true.
|
| bool | getThrowOnUnsupportedProperties (void) |
| | Do we throw an exception if a host returns 'unsupported' when setting a property. Default is true.
|
Protected Attributes |
| OfxPropertySetHandle | _propHandle |
| | The raw property handle.
|
Static Protected Attributes |
| int | _gPropLogging = 1 |
| | are we logging property get/set
|
| bool | _gThrowOnUnsupported = true |
| | Do we throw an exception if a host returns 'unsupported' when setting a property.
|