18 #ifndef AGXFN_PARAMETERBINDING_H
19 #define AGXFN_PARAMETERBINDING_H
49 bool isScalar()
const;
51 bool isPointer()
const;
53 bool isWritable()
const;
54 bool allowFormatPromotion()
const;
63 const T& getScalar()
const;
77 const T *& getPointer()
const;
84 bool m_allowFormatPromotion;
109 template <
typename T>
118 template <
typename T>
124 template <
typename T>
133 template <
typename T>
139 template <
typename T>
150 template <
typename T>
Type-specific Array used for fast access into the data held by a Buffer.
bool is(const agx::Model *other) const
A binding between a formal function parameter and an actual value.
void setWritable(bool writable)
agxData::Array< T > & getArray()
const agxData::Format * getFormat() const
bool allowFormatPromotion() const
void setFormat(const agxData::Format *format)
agxData::Data * getValue()
void setMetaType(agx::UInt metaType)
void setValue(agxData::Data *value)
void setAllowFormatPromotion(bool flag)
agx::UInt getMetaType() const
MetaType
Specify which kind of parameter.
Vector containing 'raw' data.
AGXCORE_EXPORT Format * getFormat(const agx::String &typeFormatName)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
agx::VectorPOD< ParameterBinding > ParameterBindingVector