![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Mesh/MeshCustomProperties.h>
Wrapper for the value of a custom property on a specific element, with conversions to and from the underlying data type. More...
Inheritance diagram for CustomPropertyElement< T >:Wrapper for the value of a custom property on a specific element, with conversions to and from the underlying data type.
Public Member Functions | |
| CustomPropertyElement (const T &data) | |
| CustomPropertyElement (const CustomPropertyElement< T > &other) | |
| CustomPropertyElement< T > & | operator= (const CustomPropertyElement< T > &other) |
| bool | operator== (const CustomPropertyElement< T > &other) const |
| bool | operator== (const T &value) const |
| std::unique_ptr< CustomPropertyElementBase > | clone (bool withData=true) const override |
| Creates a copy of this object. If not cloning withData, the result will always be invalid. | |
| T & | operator= (const T &other) |
| operator T () const | |
| CustomPropertyElementBase & | operator= (const CustomPropertyElementBase &other) override |
| bool | operator== (const CustomPropertyElementBase &other) const override |
Public Member Functions inherited from CustomPropertyElementBase | |
| CustomPropertyElementBase (bool valid=false) | |
| bool | valid () const |
Additional Inherited Members | |
Protected Attributes inherited from CustomPropertyElementBase | |
| bool | m_valid = false |
|
overridevirtual |
Creates a copy of this object. If not cloning withData, the result will always be invalid.
Implements CustomPropertyElementBase.
|
overridevirtual |
Reimplemented from CustomPropertyElementBase.
|
overridevirtual |
Reimplemented from CustomPropertyElementBase.