ezEngine  Release 25.03
ezTag Class Reference

The tag class stores the necessary lookup information for a single tag which can be used in conjunction with the tag set. More...

#include <Tag.h>

Public Member Functions

EZ_ALWAYS_INLINE bool operator== (const ezTag &rhs) const
 
EZ_ALWAYS_INLINE bool operator!= (const ezTag &rhs) const
 
EZ_ALWAYS_INLINE bool operator< (const ezTag &rhs) const
 
const EZ_ALWAYS_INLINE ezStringGetTagString () const
 
EZ_ALWAYS_INLINE bool IsValid () const
 

Friends

template<typename BlockStorageAllocator >
class ezTagSetTemplate
 
class ezTagRegistry
 

Detailed Description

The tag class stores the necessary lookup information for a single tag which can be used in conjunction with the tag set.

A tag is the storage for a small amount of lookup information for a single tag. Instances of ezTag can be used in checks with the tag set. Note that fetching information for the tag needs to access the global tag registry which involves a mutex lock. It is thus recommended to fetch tag instances early and reuse them for the actual tests and to avoid querying the tag registry all the time (e.g. due to tag instances being kept on the stack).


The documentation for this class was generated from the following files: