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

An node ID. More...

#include <UN_Types.h>

+ Inheritance diagram for UN_NodeID:

Public Member Functions

 UN_NodeID (UN_DataID data_id=UN_DataID())
 
- Public Member Functions inherited from UN_DataID
 UN_DataID (ValueType value=INVALID_NUMBER)
 
 UN_DataID (exint value)
 
- Public Member Functions inherited from UN_DataNumber
 UN_DataNumber (ValueType value=INVALID_NUMBER)
 
void setValue (ValueType value)
 Sets the numerical value of this number. More...
 
ValueType value () const
 Returns the numerical value of this number. More...
 
 operator ValueType () const
 
bool isValid () const
 Returns true if this data number is valid; false otherwise. More...
 
 operator bool () const
 Returns true if this data number is valid; false otherwise. More...
 
bool operator== (const UN_DataNumber &other) const
 Comparison operators. More...
 
bool operator!= (const UN_DataNumber &other) const
 Comparison operators. More...
 
bool operator< (const UN_DataNumber &other) const
 Comparison operators. More...
 
bool operator<= (const UN_DataNumber &other) const
 Comparison operators. More...
 
bool operator> (const UN_DataNumber &other) const
 Comparison operators. More...
 
bool operator>= (const UN_DataNumber &other) const
 Comparison operators. More...
 
UN_DataNumberoperator++ ()
 Basic arithmetic operators. More...
 
UN_DataNumber operator++ (int)
 Basic arithmetic operators. More...
 

Additional Inherited Members

- Public Types inherited from UN_DataNumber
enum  ValueType : ValueIntType
 
using ValueIntType = exint
 
- Static Public Attributes inherited from UN_DataNumber
static constexpr ValueType INVALID_NUMBER = ValueType(-1)
 

Detailed Description

An node ID.

Data ID is unique throughout the lifespan of a graph, but only for within the same data (eg, nodes). Ie, a node may have same data id as a wire. So it's a good idea to keep these type spaces separate. Defines types for various data ID numbers.

Definition at line 273 of file UN_Types.h.

Constructor & Destructor Documentation

UN_NodeID::UN_NodeID ( UN_DataID  data_id = UN_DataID())
inlineexplicit

Definition at line 276 of file UN_Types.h.


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