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