ACE 8.0.0
Loading...
Searching...
No Matches
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.
 
size_t size () const
 Get the size of the data we hold.
 
size_t capacity () const
 Get the capacity of this block of data.
 
voiddata ()
 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_
 

Member Typedef Documentation

◆ ACE_MEM_SAP_NODE_PTR

Constructor & Destructor Documentation

◆ ACE_MEM_SAP_Node()

ACE_MEM_SAP_Node::ACE_MEM_SAP_Node ( size_t cap)
inline

Initialize the node with its capacity.

Member Function Documentation

◆ capacity()

size_t ACE_MEM_SAP_Node::capacity ( ) const
inline

Get the capacity of this block of data.

◆ data()

void * ACE_MEM_SAP_Node::data ( )
inline

Get the pointer to the block of data we hold.

◆ size()

size_t ACE_MEM_SAP_Node::size ( ) const
inline

Get the size of the data we hold.

Member Data Documentation

◆ capacity_

size_t ACE_MEM_SAP_Node::capacity_

The maximum size of this memory block.

◆ next_

ACE_MEM_SAP_NODE_PTR ACE_MEM_SAP_Node::next_

◆ size_

size_t ACE_MEM_SAP_Node::size_

The actualy size used.


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