Class DeleteMe
Helper class used to delete another object.
Inheritance
DeleteMe
Assembly: FlaxEngine.dll
File: Engine/Core/DeleteMe.h
Syntax
public class DeleteMe<T, MemoryAllocator>
Type Parameters
class T
|
class MemoryAllocator
|
Constructors
~DeleteMe()
Destructor
Declaration
public ~DeleteMe()
DeleteMe(T* toDelete)
Init
Declaration
public DeleteMe(T* toDelete)
Parameters
T
toDelete
Object to delete |
Methods
Delete()
Delete linked object
Declaration
public void Delete()
DeleteAndSetNew(T* other)
Delete linked object and assign new one
Declaration
public void DeleteAndSetNew(T* other)
Parameters
T
other
New object |
Get()
Declaration
public T* Get() const
Returns
T
|
IsMissing()
Declaration
public bool IsMissing() const
Returns
bool
|
IsSet()
Declaration
public bool IsSet() const
Returns
bool
|
operator*()
Object
Declaration
public T* operator*()
Returns
T
Object |
operator->()
Object
Declaration
public T* operator->()
Returns
T
|