Workspace 6.21.5
Public Member Functions | Related Functions | List of all members
NodeHandle Class Reference

A handle to a node in a MeshModelInterface. More...

#include <Mesh/DataStructures/MeshModelInterface/meshitemhandle.h>

Inheritance diagram for NodeHandle:
[legend]

Public Member Functions

 NodeHandle ()
 
 NodeHandle (const NodeHandle &other)
 
 NodeHandle (size_type index)
 
bool operator!= (const NodeHandle &rhs) const
 
bool operator== (const NodeHandle &rhs) const
 
- Public Member Functions inherited from ItemHandle
size_type getIndex () const
 
size_typeindexData ()
 
bool isValid () const
 
bool operator!= (const ItemHandle &other) const
 
bool operator< (const ItemHandle &other) const
 
bool operator== (const ItemHandle &other) const
 

Related Functions

(Note that these are not member functions.)

using NodeHandleList = Application::VariableLengthArray< NodeHandle, 8 >
 

Additional Inherited Members

- Public Types inherited from ItemHandle
typedef quint32 size_type
 
- Static Public Member Functions inherited from ItemHandle
static constexpr bool isValidIndex (size_t index)
 
- Protected Member Functions inherited from ItemHandle
 ItemHandle ()
 
 ItemHandle (size_type index)
 

Detailed Description

It is only valid to use a NodeHandle with the MeshNodesInterface it belongs to. Using it with a different MeshNodesInterface instance or comparing it with NodeHandles from another instance has undefined results.

Constructor & Destructor Documentation

◆ NodeHandle() [1/3]

NodeHandle ( )
inline

Create a default (invalid) handle

◆ NodeHandle() [2/3]

NodeHandle ( size_type  index)
inlineexplicit
Parameters
indexA unique index associated with the node

◆ NodeHandle() [3/3]

NodeHandle ( const NodeHandle other)
inlinedefault

Member Function Documentation

◆ operator!=()

bool operator!= ( const NodeHandle rhs) const
inline

◆ operator==()

bool operator== ( const NodeHandle rhs) const
inline

Friends And Related Function Documentation

◆ NodeHandleList

A list of nodes used by MeshNodesInterface.