A tag represents a unique identifier for database elements in the database.
More...
#include <iserializer.h>
A tag represents a unique identifier for database elements in the database.
- See also
- the underlying POD type mi::neuraylib::Tag_struct.
◆ bool_conversion_support
typedef bool(Tag::* mi::neuraylib::Tag::bool_conversion_support) () const |
◆ Tag() [1/2]
mi::neuraylib::Tag::Tag |
( |
| ) |
|
|
inline |
Constructor.
Sets the ID initially to 0, i.e., creates an invalid tag.
◆ Tag() [2/2]
Constructor from the underlying storage type.
◆ is_valid()
bool mi::neuraylib::Tag::is_valid |
( |
| ) |
const |
|
inline |
Returns true
if the tag is valid, i.e., is not equal to NULL_TAG.
◆ operator bool_conversion_support()
Helper function for the conversion of a Tag to a bool.
This helper function allows to write
if (t) ...
A tag represents a unique identifier for database elements in the database.
Definition: iserializer.h:54
instead of