ezEngine  Release 25.03
ezTypedPointer Struct Reference

A typed raw pointer. More...

#include <TypedPointer.h>

Public Member Functions

 EZ_DECLARE_POD_TYPE ()
 
 ezTypedPointer (void *pObject, const ezRTTI *pType)
 
bool operator== (const ezTypedPointer &rhs) const
 
bool operator!= (const ezTypedPointer &rhs) const
 

Public Attributes

void * m_pObject = nullptr
 
const ezRTTIm_pType = nullptr
 

Detailed Description

A typed raw pointer.

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

See also
ezVariant

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