Wildmeshing Toolkit
wmtk::attribute::AttributeHandle Class Reference

Internal handle representation used by MeshAttributes. More...

#include <AttributeHandle.hpp>

Public Member Functions

 AttributeHandle (int64_t i) noexcept
 
 AttributeHandle ()=default
 
 AttributeHandle (const AttributeHandle &)=default
 
 AttributeHandle (AttributeHandle &&)=default
 
AttributeHandleoperator= (const AttributeHandle &)=default
 
AttributeHandleoperator= (AttributeHandle &&)=default
 
bool operator== (const AttributeHandle &other) const noexcept
 
bool operator< (const AttributeHandle &other) const noexcept
 
bool is_valid () const noexcept
 

Public Attributes

int64_t index = -1
 

Friends

template<typename T >
class MeshAttributes
 
template<typename T >
class TypedAttributeHandle
 
class AttributeManager
 
class wmtk::hash< AttributeHandle >
 
class Mesh
 

Detailed Description

Internal handle representation used by MeshAttributes.

Definition at line 23 of file AttributeHandle.hpp.

Constructor & Destructor Documentation

◆ AttributeHandle() [1/4]

wmtk::attribute::AttributeHandle::AttributeHandle ( int64_t  i)
inlinenoexcept

Definition at line 36 of file AttributeHandle.hpp.

◆ AttributeHandle() [2/4]

wmtk::attribute::AttributeHandle::AttributeHandle ( )
default

◆ AttributeHandle() [3/4]

wmtk::attribute::AttributeHandle::AttributeHandle ( const AttributeHandle )
default

◆ AttributeHandle() [4/4]

wmtk::attribute::AttributeHandle::AttributeHandle ( AttributeHandle &&  )
default

Member Function Documentation

◆ is_valid()

bool wmtk::attribute::AttributeHandle::is_valid ( ) const
inlinenoexcept

Definition at line 51 of file AttributeHandle.hpp.

References index.

Referenced by wmtk::attribute::TypedAttributeHandle< T >::is_valid().

Here is the caller graph for this function:

◆ operator<()

bool wmtk::attribute::AttributeHandle::operator< ( const AttributeHandle other) const
inlinenoexcept

Definition at line 49 of file AttributeHandle.hpp.

References index.

◆ operator=() [1/2]

AttributeHandle& wmtk::attribute::AttributeHandle::operator= ( AttributeHandle &&  )
default

◆ operator=() [2/2]

AttributeHandle& wmtk::attribute::AttributeHandle::operator= ( const AttributeHandle )
default

◆ operator==()

bool wmtk::attribute::AttributeHandle::operator== ( const AttributeHandle other) const
inlinenoexcept

Definition at line 48 of file AttributeHandle.hpp.

References index.

Friends And Related Function Documentation

◆ AttributeManager

friend class AttributeManager
friend

Definition at line 31 of file AttributeHandle.hpp.

◆ Mesh

friend class Mesh
friend

Definition at line 33 of file AttributeHandle.hpp.

◆ MeshAttributes

template<typename T >
friend class MeshAttributes
friend

Definition at line 28 of file AttributeHandle.hpp.

◆ TypedAttributeHandle

template<typename T >
friend class TypedAttributeHandle
friend

Definition at line 30 of file AttributeHandle.hpp.

◆ wmtk::hash< AttributeHandle >

friend class wmtk::hash< AttributeHandle >
friend

Definition at line 31 of file AttributeHandle.hpp.

Member Data Documentation

◆ index


The documentation for this class was generated from the following file: