ezEngine  Milestone 9
ezRTTINoAllocator Struct Reference

Dummy Allocator for types that should not be allocatable through the reflection system. More...

#include <RTTI.h>

Inheritance diagram for ezRTTINoAllocator:

Public Member Functions

virtual bool CanAllocate () const override
 Returns false, because this type of allocator is used for classes that shall not be allocated dynamically.
 
virtual ezInternal::NewInstance< void > AllocateInternal (ezAllocatorBase *pAllocator) override
 Will trigger an assert.
 
virtual void Deallocate (void *pObject, ezAllocatorBase *pAllocator) override
 Will trigger an assert.
 
- Public Member Functions inherited from ezRTTIAllocator
template<typename T >
ezInternal::NewInstance< T > Allocate (ezAllocatorBase *pAllocator=nullptr)
 Allocates one instance.
 
template<typename T >
ezInternal::NewInstance< T > Clone (const void *pObject, ezAllocatorBase *pAllocator=nullptr)
 Clones the given instance.
 

Detailed Description

Dummy Allocator for types that should not be allocatable through the reflection system.


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