#include <mesh_attribute_base.h>
A simple wrapper class which contains a data pointer and a reference to the MeshAttribute implementation class. Implements all the arithmetic operators to simplify usage independently of the data type itself.
Public Attributes | |
| MeshAttributeClassInterface::ConstPtr | _cls |
| void * | _valuePtr |
|
default |
| MeshAttribute | ( | const MeshAttributeClass & | cls, |
| void * | valuePtr | ||
| ) |
| MeshAttribute | ( | const MeshAttributeClass & | cls, |
| const void * | valuePtr | ||
| ) |
| MeshAttribute | ( | const MeshAttribute & | src, |
| void * | valuePtr | ||
| ) |
| Bool operator== | ( | const MeshAttribute & | b | ) | const |
| Bool operator!= | ( | const MeshAttribute & | b | ) | const |
| Bool operator< | ( | const MeshAttribute & | b | ) | const |
| Bool operator> | ( | const MeshAttribute & | b | ) | const |
| MeshAttribute operator+ | ( | const MeshAttribute & | b | ) | const |
| MeshAttribute operator- | ( | const MeshAttribute & | b | ) | const |
| MeshAttribute operator* | ( | const MeshAttribute & | b | ) | const |
| MeshAttribute operator* | ( | Float | value | ) | const |
| MeshAttribute operator/ | ( | const MeshAttribute & | b | ) | const |
| MeshAttribute operator/ | ( | Float | value | ) | const |
| MeshAttribute operator+= | ( | const MeshAttribute & | b | ) |
| MeshAttribute operator-= | ( | const MeshAttribute & | b | ) |
| MeshAttribute operator*= | ( | const MeshAttribute & | b | ) |
| MeshAttribute operator*= | ( | Float | value | ) |
| MeshAttribute operator/= | ( | const MeshAttribute & | b | ) |
| MeshAttribute operator/= | ( | Float | value | ) |
| MeshAttributeClassInterface::ConstPtr _cls |
| void* _valuePtr |