#include <monoallocator.hpp>
Stores the actual state of outer class MonoAllocator. Retrieved method MonoAllocator::TakeSnapshot and MonoAllocator::Reset(const Snapshot&).
Definition at line 316 of file monoallocator.hpp.
Public Methods | |
Snapshot () | |
Snapshot (MonoAllocator *allocator) | |
bool | IsValid () |
Private Fields | |
char * | actFill |
Chunk * | chunk |
|
inline |
Internal constructor which creates a snapshot from the current allocator.
allocator | The current chunk. |
Definition at line 334 of file monoallocator.hpp.
|
inline |
Default constructor.
Definition at line 345 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 354 of file monoallocator.hpp.
|
private |
Pointer to the first free byte in the current chunk
Definition at line 327 of file monoallocator.hpp.
|
private |
The current chunk.
Definition at line 324 of file monoallocator.hpp.