Stores the actual state of outer class MonoAllocator. Retrieved method MonoAllocator::TakeSnapshot and MonoAllocator::Reset(Snapshot). 
Definition at line 114 of file monoallocator.inl.
◆ actFill
  
  | 
        
          | char* alib::monomem::Snapshot::actFill |  | protected | 
 
Pointer to the first free byte in the current buffer. 
Definition at line 122 of file monoallocator.inl.
 
 
◆ buffer
◆ Snapshot() [1/2]
  
  | 
        
          | alib::monomem::Snapshot::Snapshot | ( | detail::Buffer * | pBuffer, |  
          |  |  | char * | pFill ) |  | inlineconstexprprotectednoexcept | 
 
Internal constructor. 
- Parameters
- 
  
    | pBuffer | The current buffer. |  | pFill | The current fill of buffer. |  
 
Definition at line 127 of file monoallocator.inl.
 
 
◆ Snapshot() [2/2]
  
  | 
        
          | alib::monomem::Snapshot::Snapshot | ( |  | ) |  |  | inlineconstexprnoexcept | 
 
Default constructor. 
- Note
- Default-constructed snapshots passed to method MonoAllocator::Reset(Snapshot) do reset the monotonic allocator to its initial state after construction. All monotonic allocated memory is considered 'freed' then. 
Definition at line 137 of file monoallocator.inl.
 
 
◆ IsValid()
  
  | 
        
          | bool alib::monomem::Snapshot::IsValid | ( |  | ) |  |  | inlineconstexprnoexcept | 
 
Returns false if this snapshot was never initialized properly (default constructed and not copied over). 
- Returns
- trueif this is not a valid snapshot,- falseotherwise.
Definition at line 144 of file monoallocator.inl.
 
 
The documentation for this class was generated from the following file: