Wildmeshing Toolkit
|
Internal handle representation used by TypedAttributeManager. More...
#include <AttributeHandle.hpp>
Public Member Functions | |
AttributeHandle ()=default | |
AttributeHandle (const AttributeHandle &)=default | |
AttributeHandle (AttributeHandle &&)=default | |
AttributeHandle & | operator= (const AttributeHandle &)=default |
AttributeHandle & | operator= (AttributeHandle &&)=default |
bool | operator== (const AttributeHandle &other) const noexcept |
bool | operator< (const AttributeHandle &other) const noexcept |
int64_t | index () const noexcept |
bool | is_valid () const noexcept |
Private Member Functions | |
AttributeHandle (int64_t i) noexcept | |
AttributeHandle & | operator= (int64_t i) |
Private Attributes | |
int64_t | m_index = -1 |
Friends | |
template<typename T > | |
class | TypedAttributeManager |
template<typename T > | |
class | TypedAttributeHandle |
class | AttributeManager |
Internal handle representation used by TypedAttributeManager.
Definition at line 20 of file AttributeHandle.hpp.
|
inlineprivatenoexcept |
Definition at line 32 of file AttributeHandle.hpp.
|
default |
|
default |
|
default |
|
inlinenoexcept |
Definition at line 56 of file AttributeHandle.hpp.
References m_index.
Referenced by wmtk::attribute::TypedAttributeManager< T >::attribute(), wmtk::attribute::TypedAttributeManager< T >::attribute(), wmtk::attribute::TypedAttributeManager< T >::attribute_size(), wmtk::attribute::TypedAttributeManager< T >::is_active(), wmtk::attribute::TypedAttributeManager< T >::register_attribute(), wmtk::attribute::TypedAttributeManager< T >::remove_attribute(), wmtk::attribute::TypedAttributeManager< T >::set(), wmtk::attribute::TypedAttributeManager< T >::set_name(), and wmtk::attribute::TypedAttributeManager< T >::validate_handle().
|
inlinenoexcept |
Definition at line 57 of file AttributeHandle.hpp.
References m_index.
Referenced by wmtk::attribute::TypedAttributeHandle< T >::is_valid().
|
inlinenoexcept |
Definition at line 54 of file AttributeHandle.hpp.
References m_index.
|
default |
|
default |
|
inlineprivate |
Definition at line 35 of file AttributeHandle.hpp.
References m_index.
|
inlinenoexcept |
Definition at line 50 of file AttributeHandle.hpp.
References m_index.
|
friend |
Definition at line 28 of file AttributeHandle.hpp.
|
friend |
Definition at line 27 of file AttributeHandle.hpp.
|
friend |
Definition at line 25 of file AttributeHandle.hpp.
|
private |
Definition at line 31 of file AttributeHandle.hpp.
Referenced by index(), is_valid(), operator<(), operator=(), and operator==().