|
AGX Dynamics
2.37.2.0
|
A binding between a formal function parameter and an actual value. More...
#include <ParameterBinding.h>
Public Member Functions | |
| ParameterBinding () | |
| ParameterBinding (agxData::Data *value, const agxData::Format *format, agx::Parameter::MetaType metaType, bool isWritable, bool allowFormatPromotion) | |
| bool | allowFormatPromotion () const |
| template<typename T > | |
| agxData::Array< T > & | getArray () |
| template<typename T > | |
| const agxData::Array< T > & | getArray () const |
| const agxData::Format * | getFormat () const |
| agx::UInt | getMetaType () const |
| template<typename T > | |
| T *& | getPointer () |
| template<typename T > | |
| const T *& | getPointer () const |
| template<typename T > | |
| T & | getScalar () |
| template<typename T > | |
| const T & | getScalar () const |
| agxData::Data * | getValue () |
| const agxData::Data * | getValue () const |
| bool | isArray () const |
| bool | isPointer () const |
| bool | isScalar () const |
| bool | isValid () const |
| bool | isWritable () const |
| void | setAllowFormatPromotion (bool flag) |
| void | setFormat (const agxData::Format *format) |
| void | setMetaType (agx::UInt metaType) |
| void | setValue (agxData::Data *value) |
| void | setWritable (bool writable) |
A binding between a formal function parameter and an actual value.
Definition at line 30 of file ParameterBinding.h.
| agx::ParameterBinding::ParameterBinding | ( | ) |
Definition at line 91 of file ParameterBinding.h.
| agx::ParameterBinding::ParameterBinding | ( | agxData::Data * | value, |
| const agxData::Format * | format, | ||
| agx::Parameter::MetaType | metaType, | ||
| bool | isWritable, | ||
| bool | allowFormatPromotion | ||
| ) |
Definition at line 94 of file ParameterBinding.h.
| bool agx::ParameterBinding::allowFormatPromotion | ( | ) | const |
Definition at line 105 of file ParameterBinding.h.
| agxData::Array< T > & agx::ParameterBinding::getArray | ( | ) |
Definition at line 125 of file ParameterBinding.h.
References agxAssert, agx::Parameter::ARRAY, agx::Model::is(), and isValid().
| const agxData::Array< T > & agx::ParameterBinding::getArray | ( | ) | const |
Definition at line 134 of file ParameterBinding.h.
| const agxData::Format * agx::ParameterBinding::getFormat | ( | ) | const |
Definition at line 99 of file ParameterBinding.h.
| agx::UInt agx::ParameterBinding::getMetaType | ( | ) | const |
Definition at line 100 of file ParameterBinding.h.
| T *& agx::ParameterBinding::getPointer | ( | ) |
Definition at line 140 of file ParameterBinding.h.
References agxAssert, agx::Model::is(), isValid(), and agx::Parameter::POINTER.
| const T *& agx::ParameterBinding::getPointer | ( | ) | const |
Definition at line 151 of file ParameterBinding.h.
| T & agx::ParameterBinding::getScalar | ( | ) |
Definition at line 110 of file ParameterBinding.h.
References agxAssert, agx::Model::is(), isValid(), and agx::Parameter::SCALAR.
| const T & agx::ParameterBinding::getScalar | ( | ) | const |
Definition at line 119 of file ParameterBinding.h.
| agxData::Data * agx::ParameterBinding::getValue | ( | ) |
Definition at line 97 of file ParameterBinding.h.
| const agxData::Data * agx::ParameterBinding::getValue | ( | ) | const |
Definition at line 98 of file ParameterBinding.h.
| bool agx::ParameterBinding::isArray | ( | ) | const |
Definition at line 102 of file ParameterBinding.h.
References agx::Parameter::ARRAY.
| bool agx::ParameterBinding::isPointer | ( | ) | const |
Definition at line 103 of file ParameterBinding.h.
References agx::Parameter::POINTER.
| bool agx::ParameterBinding::isScalar | ( | ) | const |
Definition at line 101 of file ParameterBinding.h.
References agx::Parameter::SCALAR.
| bool agx::ParameterBinding::isValid | ( | ) | const |
Definition at line 106 of file ParameterBinding.h.
Referenced by getArray(), getPointer(), and getScalar().
| bool agx::ParameterBinding::isWritable | ( | ) | const |
Definition at line 104 of file ParameterBinding.h.
| void agx::ParameterBinding::setAllowFormatPromotion | ( | bool | flag | ) |
| void agx::ParameterBinding::setFormat | ( | const agxData::Format * | format | ) |
| void agx::ParameterBinding::setMetaType | ( | agx::UInt | metaType | ) |
| void agx::ParameterBinding::setValue | ( | agxData::Data * | value | ) |
| void agx::ParameterBinding::setWritable | ( | bool | writable | ) |