![]() |
XII Release 0.1.0
|
Defines a reference to an immutable object owned by a xiiVariant. More...
#include <Variant.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
bool | operator== (const xiiTypedObject &rhs) const |
Public Attributes | |
const void * | m_pObject = nullptr |
const xiiRTTI * | m_pType = nullptr |
Defines a reference to an immutable object owned by a xiiVariant.
Used to store custom types inside a xiiVariant. As lifetime is governed by the xiiVariant, it is generally not safe to store a xiiTypedObject. This class is needed to be able to differentiate between xiiVariantType::TypedPointer and xiiVariantType::TypedObject e.g. in xiiVariant::DispatchTo.