#include <freestore.h>
Public Types | |
typedef u08 | value_type |
typedef u08 & | reference |
typedef const u08 & | const_reference |
typedef u08 * | iterator |
typedef const u08 * | const_iterator |
typedef std::ptrdiff_t | difference_type |
typedef std::size_t | size_type |
Public Member Functions | |
Construction, Copy, and Assignment | |
* | Freestore () |
Constructs an empty Freestore. | |
Freestore (u08 *base, u08 *top) | |
Constructs a Freestore with base address, size, and "allocator". | |
Freestore (const Freestore &) | |
Copy constructs a Freestore. | |
Freestore & | operator= (const Freestore &) |
Copies a Freestore. | |
~Freestore () | |
Destroys a Freestore. | |
Capacity | |
*size_type | size () const |
Gets the capacity of the Freestore. | |
size_type | max_size () const |
Gets the maximum capacity of the Freestore. | |
void | resize (size_type sz) |
Resizes the Freestore to contain (at least) the specified number of bytes. | |
bool | empty () const |
Indicates that the Freestore contains no memory. | |
Iteration | |
*iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Constructs an empty Freestore.
|
|
Constructs a Freestore with base address, size, and "allocator".
|
|
Copy constructs a Freestore.
|
|
Destroys a Freestore.
|
|
|
|
|
|
Indicates that the Freestore contains no memory.
Here is the call graph for this function: |
|
|
|
|
|
Gets the maximum capacity of the Freestore.
|
|
Copies a Freestore.
|
|
Resizes the Freestore to contain (at least) the specified number of bytes. Because the Freestore must expand and contract in units of memory pages, the size() of the object after this call may be larger than the requested size, rounded up to the nearest page. It is possible this call could result in a page fault.
|
|
Gets the capacity of the Freestore.
Here is the call graph for this function: |