Stores the actual state of outer class MonoAllocator. Retrieved method MonoAllocator::TakeSnapshot and MonoAllocator::Reset(const Snapshot&) .
Definition at line 308 of file monoallocator.hpp.
#include <monoallocator.hpp>
Public Method Index: | |
Snapshot () | |
Snapshot (MonoAllocator *allocator) | |
bool | IsValid () |
|
private |
Pointer to the first free byte in the current chunk
Definition at line 319 of file monoallocator.hpp.
|
private |
The current chunk.
Definition at line 316 of file monoallocator.hpp.
|
inline |
Internal constructor which creates a snapshot from the current allocator.
allocator | The current chunk. |
Definition at line 326 of file monoallocator.hpp.
|
inline |
Default constructor.
Definition at line 337 of file monoallocator.hpp.
|
inline |
Returns false
if this snapshot was never initialized properly (default constructed and not copied over.
true
if this is not a valid snapshot, false
otherwise. Definition at line 346 of file monoallocator.hpp.