A tag represents a unique identifier for database elements in the database.
More...
A tag represents a unique identifier for database elements in the database.
- See Also
- the underlying POD type mi::neuraylib::Tag_struct.
typedef bool(Tag::* mi::neuraylib::Tag::bool_conversion_support)() const |
mi::neuraylib::Tag::Tag |
( |
) |
|
|
|
inline |
Constructor.
Sets the ID initially to 0, i.e., creates an invalid tag.
Constructor from the underlying storage type.
bool mi::neuraylib::Tag::is_valid |
( |
) |
|
const |
|
inline |
Returns true
if the tag is valid, i.e., is not equal to NULL_TAG.
Helper function for the conversion of a Tag to a bool.
This helper function allows to write
instead of