ACE  6.3.3
Public Types | Public Member Functions | Public Attributes | List of all members
ACE_MEM_SAP_Node Class Reference

#include <MEM_SAP.h>

Collaboration diagram for ACE_MEM_SAP_Node:
Collaboration graph
[legend]

Public Types

typedef ACE_Based_Pointer< ACE_MEM_SAP_NodeACE_MEM_SAP_NODE_PTR
 

Public Member Functions

 ACE_MEM_SAP_Node (size_t cap)
 Initialize the node with its capacity. More...
 
size_t size (void) const
 Get the size of the data we hold. More...
 
size_t capacity (void) const
 Get the capacity of this block of data. More...
 
void * data (void)
 Get the pointer to the block of data we hold. More...
 

Public Attributes

size_t capacity_
 The maximum size of this memory block. More...
 
size_t size_
 The actualy size used. More...
 
ACE_MEM_SAP_NODE_PTR next_
 

Member Typedef Documentation

Constructor & Destructor Documentation

ACE_MEM_SAP_Node::ACE_MEM_SAP_Node ( size_t  cap)
inline

Initialize the node with its capacity.

Member Function Documentation

size_t ACE_MEM_SAP_Node::capacity ( void  ) const
inline

Get the capacity of this block of data.

void * ACE_MEM_SAP_Node::data ( void  )
inline

Get the pointer to the block of data we hold.

size_t ACE_MEM_SAP_Node::size ( void  ) const
inline

Get the size of the data we hold.

Member Data Documentation

size_t ACE_MEM_SAP_Node::capacity_

The maximum size of this memory block.

ACE_MEM_SAP_NODE_PTR ACE_MEM_SAP_Node::next_
size_t ACE_MEM_SAP_Node::size_

The actualy size used.


The documentation for this class was generated from the following files: