[VisAPI Index] [VisAPI Hierarchy]
Attribute specification. More...
#include <VisApi/VisApi.h>
Inherits: visObject
Defines the basic functionality of attributes in VisApi: The mapping to a scalar or a vector and their arithmetic operations. The reason why they are not using operator overloading is the unhandy usage with pointers that need to be used with virtual functions.
An attribute does not store its vector dimension. The vector dimension must be obtained from the corresponding attribute factory. This saves unnecessary memory usage.
Constructor.
Destructor calls deallocate method.
Return i-th vector component (0 < i < vector dimension).
Set this attribute to given constant.
Sets i-th vector component (0 < i < vector dimension).
Set attribute value to attr.
Return scalar value of object.
Return buffer to vector data for writing. Use takebackBuffer() to write contents back to attribute.
Write vector data to attribute. The buffer must be obtained by lendBuffer!
Returns true if this object has the same value as the given attribute.
Returns true if this objects value is less than the given attribute.
Add given attribute value to this attribute. Dimension must be equal.
Substract the given attribute from this attribute. Dimension must be equal.
Multiply attribute value by the given scalar.
Divide attribute value by the given scalar.
| Kdoc |