![]() |
Plasma Engine
2.0
|
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 | |
PL_ALWAYS_INLINE bool | operator== (const plTag &rhs) const |
PL_ALWAYS_INLINE bool | operator!= (const plTag &rhs) const |
PL_ALWAYS_INLINE bool | operator< (const plTag &rhs) const |
PL_ALWAYS_INLINE const plString & | GetTagString () const |
PL_ALWAYS_INLINE bool | IsValid () const |
Friends | |
template<typename BlockStorageAllocator > | |
class | plTagSetTemplate |
class | plTagRegistry |
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 plTag 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).