Iray SDK API nvidia_logo_transpbg.gif Up
mi::neuraylib::Identifier<name, Int_type> Class Template Reference

Handle class for type-safety. More...

#include <identifier.h>

Inheritance diagram for mi::neuraylib::Identifier<name, Int_type>:

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...
 
Identifieroperator++ ()
 Pre-increment operator. More...
 
Identifier operator++ (int)
 Post-increment operator. More...
 
Identifieroperator-- ()
 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...
 

Detailed Description

template<Identifier_name name, typename Int_type = Uint32>
class mi::neuraylib::Identifier<name, Int_type>

Handle class for type-safety.

See also
the underlying POD type mi::neuraylib::Identifier_struct.