XII Release 0.1.0
Loading...
Searching...
No Matches
xiiTag Class Reference

#include <Tag.h>

Public Member Functions

XII_ALWAYS_INLINE xiiTag ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
XII_ALWAYS_INLINE bool operator== (const xiiTag &rhs) const
XII_ALWAYS_INLINE bool operator< (const xiiTag &rhs) const
XII_ALWAYS_INLINE const xiiString & GetTagString () const
XII_ALWAYS_INLINE bool IsValid () const

Friends

template<typename BlockStorageAllocator>
class xiiTagSetTemplate
class xiiTagRegistry

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 xiiTag 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:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Types/Tag.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Types/Implementation/Tag_inl.h