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

A handle to a node state. More...

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

Inheritance diagram for NodeStateHandle:
[legend]

Public Member Functions

 NodeStateHandle ()
 
 NodeStateHandle (MeshModelInterface::size_type index, const QString &name, const DataExecution::DataObject &defaultValue)
 
- Public Member Functions inherited from StateHandle
const DataExecution::DataFactorygetDataFactory () const
 
const DataExecution::DataObjectgetDefaultValue () const
 
size_type getIndex () const
 
const QString & getName () const
 
template<typename T >
bool isDataType () const
 
virtual bool isValid () const
 
bool operator!= (const StateHandle &other) const
 
bool operator< (const StateHandle &other) const
 
bool operator== (const StateHandle &other) const
 

Related Functions

(Note that these are not member functions.)

typedef QList< const NodeStateHandle * > NodeStateHandleList
 

Additional Inherited Members

- Public Types inherited from StateHandle
using size_type = ItemHandle::size_type
 
- Protected Member Functions inherited from StateHandle
 StateHandle ()
 
 StateHandle (const StateHandle &other)
 
 StateHandle (size_type index, const QString &name, const DataExecution::DataObject &defaultValue)
 
virtual ~StateHandle ()
 
StateHandleoperator= (const StateHandle &other)
 

Detailed Description

StateHandles have to clone their default value when copied, therefore it is recommended to pass this object by reference whenever possible.

See also
StateHandle

Constructor & Destructor Documentation

◆ NodeStateHandle() [1/2]

NodeStateHandle ( )
inlinedefault

Construct a default (invalid) handle

◆ NodeStateHandle() [2/2]

NodeStateHandle ( MeshModelInterface::size_type  index,
const QString &  name,
const DataExecution::DataObject defaultValue 
)
inline

Friends And Related Function Documentation

◆ NodeStateHandleList

typedef QList<const NodeStateHandle*> NodeStateHandleList
related

A list of states used by MeshNodesInterface.