Plasma Engine  2.0
Loading...
Searching...
No Matches
plTypedPointer Struct Reference

A typed raw pointer. More...

#include <TypedPointer.h>

Public Member Functions

 PL_DECLARE_POD_TYPE ()
 
 plTypedPointer (void *pObject, const plRTTI *pType)
 
bool operator== (const plTypedPointer &rhs) const
 
bool operator!= (const plTypedPointer &rhs) const
 

Public Attributes

void * m_pObject = nullptr
 
const plRTTIm_pType = nullptr
 

Detailed Description

A typed raw pointer.

Common use case is the storage of object pointers inside an plVariant. Has the same lifetime concerns that any other raw pointer.

See also
plVariant

The documentation for this struct was generated from the following file: