HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UN_Handle Class Reference

#include <UN_Handle.h>

+ Inheritance diagram for UN_Handle:

Public Member Functions

 UN_Handle (UN_GraphData *graph_data, UN_DataID data_id)
 Convenience constructor. More...
 
 UN_Handle ()
 Default constructor. More...
 
UN_DataID dataID () const
 
 ~UN_Handle ()=default
 Default destructor, constructors and assignment operators. More...
 
 UN_Handle (const UN_Handle &)=default
 Default destructor, constructors and assignment operators. More...
 
 UN_Handle (UN_Handle &&)=default
 Default destructor, constructors and assignment operators. More...
 
UN_Handleoperator= (const UN_Handle &)=default
 Default destructor, constructors and assignment operators. More...
 
UN_Handleoperator= (UN_Handle &&)=default
 Default destructor, constructors and assignment operators. More...
 
bool operator== (const UN_Handle &other) const
 Comparison operators. More...
 
bool operator!= (const UN_Handle &other) const
 Comparison operators. More...
 

Protected Member Functions

UN_GraphData * graphData () const
 

Detailed Description

A handle class that is the basis for many concrete handle classes. It factors out the behavious of a data object inside a data container.

Definition at line 27 of file UN_Handle.h.

Constructor & Destructor Documentation

UN_Handle::UN_Handle ( UN_GraphData *  graph_data,
UN_DataID  data_id 
)
inline

Convenience constructor.

Definition at line 31 of file UN_Handle.h.

UN_Handle::UN_Handle ( )
inline

Default constructor.

Definition at line 37 of file UN_Handle.h.

UN_Handle::~UN_Handle ( )
default

Default destructor, constructors and assignment operators.

UN_Handle::UN_Handle ( const UN_Handle )
default

Default destructor, constructors and assignment operators.

UN_Handle::UN_Handle ( UN_Handle &&  )
default

Default destructor, constructors and assignment operators.

Member Function Documentation

UN_DataID UN_Handle::dataID ( ) const
inline

The unique number identifying this data object during the lifespan of the owner graph. Used for referring to this object in the graph.

Definition at line 66 of file UN_Handle.h.

UN_GraphData* UN_Handle::graphData ( ) const
inlineprotected

The graph that owns, manages, and operates on data object. Returning a non-const pointer from const method, since the derived classes have const methods that operate on non-const graph, but are always constructed with a non-const graph.

Definition at line 74 of file UN_Handle.h.

bool UN_Handle::operator!= ( const UN_Handle other) const
inline

Comparison operators.

Definition at line 56 of file UN_Handle.h.

UN_Handle& UN_Handle::operator= ( const UN_Handle )
default

Default destructor, constructors and assignment operators.

UN_Handle& UN_Handle::operator= ( UN_Handle &&  )
default

Default destructor, constructors and assignment operators.

bool UN_Handle::operator== ( const UN_Handle other) const
inline

Comparison operators.

Definition at line 50 of file UN_Handle.h.


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