Handle class for type-safety. More...
#include <identifier.h>

Public Member Functions | |
| Identifier () | |
| Default constructor. Initializes handle with invalid value. More... | |
| Identifier (Int_type h) | |
| Constructor. Initializes handle with given integer value. More... | |
| Identifier (Identifier_struct<name, Int_type> h) | |
| Constructor from underlying storage type. More... | |
| operator Int_type () const | |
| Conversion operator to underlying integer type. More... | |
| Int_type | operator* () const |
| Dereferences the handle. Returns its integer value. More... | |
| bool | is_valid () const |
| Returns whether the handle is valid. More... | |
| Identifier & | operator++ () |
| Pre-increment operator. More... | |
| Identifier | operator++ (int) |
| Post-increment operator. More... | |
| Identifier & | operator-- () |
| Pre-decrement operator. More... | |
| Identifier | operator-- (int) |
| Post-decrement operator. More... | |
| bool | operator< (const Identifier &other) const |
| Less-than operator. More... | |
| bool | operator<= (const Identifier &other) const |
| Less-than-or-equal-to operator. More... | |
| bool | operator> (const Identifier &other) const |
| Greater-than operator. More... | |
| bool | operator>= (const Identifier &other) const |
| Greater-than-or-equal-to operator. More... | |
Additional Inherited Members | |
Public Attributes inherited from mi::neuraylib::Identifier_struct<name, Uint32> | |
| Uint32 | m_id |
| The handle ID. More... | |
Handle class for type-safety.