#include <Malloc.h>
Public Member Functions | |
ACE_Name_Node (const char *name, char *name_ptr, char *pointer, ACE_Name_Node *head) | |
Constructor. | |
ACE_Name_Node (void) | |
Constructor. | |
~ACE_Name_Node (void) | |
Constructor. | |
const char * | name (void) const |
Return a pointer to the name of this node. | |
void | dump (void) const |
Dump the state of the object. | |
Static Public Member Functions | |
static void | init_ptr (ACE_Name_Node **ptr, ACE_Name_Node *init, void *base_addr) |
Initialize a name node pointer. | |
Public Attributes | |
char * | name_ |
Name of the Node. | |
char * | pointer_ |
Pointer to the contents. | |
ACE_Name_Node * | next_ |
Pointer to the next node in the doubly-linked list. | |
ACE_Name_Node * | prev_ |
Pointer to the previous node in the doubly-linked list. | |
Private Member Functions | |
ACE_Name_Node (const ACE_Name_Node &) | |
Copy constructor. |
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.
ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::ACE_Name_Node | ( | const char * | name, | |
char * | name_ptr, | |||
char * | pointer, | |||
ACE_Name_Node * | head | |||
) |
Constructor.
ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::ACE_Name_Node | ( | void | ) |
Constructor.
ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::~ACE_Name_Node | ( | void | ) |
Constructor.
ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::ACE_Name_Node | ( | const ACE_Name_Node & | ) | [private] |
Copy constructor.
void ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::dump | ( | void | ) | const |
Dump the state of the object.
void ACE_Control_Block::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.
const char * ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::name | ( | void | ) | const |
Return a pointer to the name of this node.
char* ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::name_ |
Name of the Node.
ACE_Name_Node* ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::next_ |
Pointer to the next node in the doubly-linked list.
char* ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::pointer_ |
Pointer to the contents.
ACE_Name_Node* ACE_Control_Block::ACE_Control_Block::ACE_Name_Node::prev_ |
Pointer to the previous node in the doubly-linked list.