Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# ACE_Control_Block::ACE_Name_Node Class Reference

This class supports "named memory regions" within <ACE_Malloc>. More...

`#include <Malloc.h>`

Collaboration diagram for ACE_Control_Block::ACE_Name_Node:

[legend]
List of all members.

## Public Methods
| ACE_Name_Node (const char *name, char *name_ptr, char *pointer, ACE_Name_Node *head)
| Constructor. More...
| ACE_Name_Node (const ACE_Name_Node &)
| Copy constructor. More...
| ACE_Name_Node (void)
| Constructor. More...
| ~ACE_Name_Node (void)
| Constructor. More...
const char * | name (void) const
| Return a pointer to the name of this node. More...
void | name (const char *)
| Assign a name;. More...
void | dump (void) const
| Dump the state of the object. More...
## Static Public Methods
void | init_ptr (ACE_Name_Node **ptr, ACE_Name_Node *init, void *base_addr)
| Initialize a name node pointer. More...
## Public Attributes
char * | name_
| Name of the Node. More...
char * | pointer_
| Pointer to the contents. More...
ACE_Name_Node * | next_
| Pointer to the next node in the doubly-linked list. More...
ACE_Name_Node * | prev_
| Pointer to the previous node in the doubly-linked list. More...

## Detailed Description

This class supports "named memory regions" within <ACE_Malloc>.

Internally, the named memory regions are stored as a doubly-linked list within the <Memory_Pool>. This makes it easy to iterate over the items in the list in both FIFO and LIFO order.

## Constructor & Destructor Documentation

ACE_Control_Block::ACE_Name_Node::ACE_Name_Node | ( | const char * | name,
|  | char * | name_ptr,
|  | char * | pointer,
|  | ACE_Name_Node * | next
| ) |

| Constructor.

ACE_Control_Block::ACE_Name_Node::ACE_Name_Node | ( | const ACE_Name_Node & |  | ) |

| Copy constructor.

ACE_Control_Block::ACE_Name_Node::ACE_Name_Node | ( | void |  | ) |

| Constructor.

ACE_INLINE ACE_Control_Block::ACE_Name_Node::~ACE_Name_Node | ( | void |  | ) |

| Constructor.

## Member Function Documentation

void ACE_Control_Block::ACE_Name_Node::dump | ( | void |  | ) | const

| Dump the state of the object.

ACE_INLINE void ACE_Control_Block::ACE_Name_Node::init_ptr | ( | ACE_Name_Node ** | ptr,
|  | ACE_Name_Node * | init,
|  | void * | base_addr
| ) | `[static]`

| Initialize a name node pointer.

void ACE_Control_Block::ACE_Name_Node::name | ( | const char * |  | ) |

| Assign a name;.

const char * ACE_Control_Block::ACE_Name_Node::name | ( | void |  | ) | const

| Return a pointer to the name of this node.

## Member Data Documentation

char* ACE_Control_Block::ACE_Name_Node::name_

| Name of the Node.

ACE_Name_Node* ACE_Control_Block::ACE_Name_Node::next_

| Pointer to the next node in the doubly-linked list.

char* ACE_Control_Block::ACE_Name_Node::pointer_

| Pointer to the contents.

ACE_Name_Node* ACE_Control_Block::ACE_Name_Node::prev_

| Pointer to the previous node in the doubly-linked list.

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

- Malloc.h
- Malloc.cpp
- Malloc.i