#include <MEM_SAP.h>
Collaboration diagram for ACE_MEM_SAP_Node:
Public Types | |
typedef ACE_Based_Pointer< ACE_MEM_SAP_Node > | ACE_MEM_SAP_NODE_PTR |
Public Methods | |
ACE_MEM_SAP_Node (size_t cap) | |
Initialize the node with its capacity. | |
size_t | size (void) const |
Get the size of the data we hold. | |
size_t | capacity (void) const |
Get the capacity of this block of data. | |
void * | data (void) |
Get the pointer to the block of data we hold. | |
Public Attributes | |
size_t | capacity_ |
The maximum size of this memory block. | |
size_t | size_ |
The actualy size used. | |
ACE_MEM_SAP_NODE_PTR | next_ |
|
|
|
Initialize the node with its capacity.
|
|
Get the capacity of this block of data.
|
|
Get the pointer to the block of data we hold.
|
|
Get the size of the data we hold.
|
|
The maximum size of this memory block.
|
|
|
|
The actualy size used.
|