HDK
|
Adaptor of the UN_DataIDRemap to specific data types. More...
#include <UN_Include.h>
Public Member Functions | |
UN_DataIDRemapT ()=default | |
Default constructor. More... | |
UN_DataIDRemapT (const UN_DataIDRemap &remap_base) | |
Convenience constructor that takes an instance of the base class. More... | |
UN_DataIDRemapT (ID old_id_end, ID new_id_start, bool combine_id_zero=false) | |
Convenience constructor. See UN_DataIDRemap. More... | |
ID | operator[] (ID old_id) const |
ID | at (ID old_id) const |
![]() | |
UN_DataIDRemap ()=default | |
Default constructor. More... | |
UN_DataIDRemap (UN_DataID old_id_end, UN_DataID new_id_start, bool combine_id_zero=false) | |
UN_DataID | newStartOffset () const |
UN_DataID | oldEndOffset () const |
Returns the limit for the old IDs source range. More... | |
UN_DataSize | size () const |
Returns the number of IDs reserved by this merge map. More... | |
operator bool () const | |
UN_DataID | operator[] (UN_DataID old_id) const |
UN_DataID | nextDataID () const |
Returns the data ID that should be used for the data created next time. More... | |
Additional Inherited Members | |
![]() | |
static UN_DataID | remapIDFromOffsets (UN_DataID old_id, UN_DataID old_offset, UN_DataID new_offset) |
Adaptor of the UN_DataIDRemap to specific data types.
Definition at line 279 of file UN_Include.h.
|
default |
Default constructor.
|
inline |
Convenience constructor that takes an instance of the base class.
Definition at line 435 of file UN_Include.h.
|
inline |
Convenience constructor. See UN_DataIDRemap.
Definition at line 440 of file UN_Include.h.
|
inline |
Definition at line 452 of file UN_Include.h.
|
inline |
Returns the new ID corresponding to the old
ID, if the old
ID is an ID contained within the source ID range; otherwise, returns an invalid ID.
Definition at line 448 of file UN_Include.h.