CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::DestructibleTypeTrait Class Referenceabstract

#include <CeresEngine/Reflection/TypeInfo.hpp>

Inheritance diagram for CeresEngine::DestructibleTypeTrait:
CeresEngine::ArrayTypeInfo CeresEngine::ByteTypeInfo CeresEngine::ConstTypeInfo CeresEngine::MemberPointerTypeInfo CeresEngine::NullTypeInfo CeresEngine::PointerTypeInfo CeresEngine::PrimitiveTypeInfo CeresEngine::ReferenceTypeInfo

Public Member Functions

virtual void destroy (void *target) const =0
 Destroys an existing instance of the type at target address.
 

Protected Member Functions

 ~DestructibleTypeTrait ()=default
 

Constructor & Destructor Documentation

◆ ~DestructibleTypeTrait()

CeresEngine::DestructibleTypeTrait::~DestructibleTypeTrait ( )
protecteddefault

Member Function Documentation

◆ destroy()

virtual void CeresEngine::DestructibleTypeTrait::destroy ( void *  target) const
pure virtual

Destroys an existing instance of the type at target address.

Parameters
targetA pointer to the raw memory where the object is stored on.

Implemented in CeresEngine::ReferenceTypeInfo, CeresEngine::PointerTypeInfo, CeresEngine::ConstTypeInfo, CeresEngine::ArrayTypeInfo, CeresEngine::MemberPointerTypeInfo, CeresEngine::PrimitiveTypeInfo, CeresEngine::NullTypeInfo, and CeresEngine::ByteTypeInfo.


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