ACE
6.3.3
|
An iterator. More...
#include <Registry.h>
Classes | |
class | Context_Iteration |
class | Iteration_Complete |
class | Iteration_State |
class | Object_Iteration |
Public Member Functions | |
Binding_Iterator (void) | |
Default constructor. More... | |
int | next_one (Binding &binding) |
Next entry. More... | |
int | next_n (u_long how_many, Binding_List &list) |
Next <how_many> entries. More... | |
int | destroy (void) |
Cleanup. More... | |
void | reset (void) |
Reset the internal state of the iterator. More... | |
Naming_Context & | naming_context (void) |
Get naming_context that the iterator is iterating over. More... | |
Private Member Functions | |
void | naming_context (Naming_Context &naming_context) |
Set naming_context that the iterator is iterating over. More... | |
void | current_enumeration (Iteration_State ¤t_enumeration) |
Set current_enumeration. More... | |
Iteration_State & | current_enumeration (void) |
Get current_enumeration. More... | |
Private Attributes | |
Naming_Context * | naming_context_ |
Reference to context. More... | |
Object_Iteration | object_iteration_ |
Instances of all states. More... | |
Context_Iteration | context_iteration_ |
Iteration_Complete | iteration_complete_ |
Iteration_State * | current_enumeration_ |
Pointer to current state. More... | |
Friends | |
class | Naming_Context |
Friend factory. More... | |
class | Iteration_State |
Friend states. More... | |
class | Object_Iteration |
class | Context_Iteration |
class | Iteration_Complete |
An iterator.
Useful when iteratorating over a few entries at a time
ACE_Registry::Binding_Iterator::Binding_Iterator | ( | void | ) |
Default constructor.
|
private |
Set current_enumeration.
|
private |
Get current_enumeration.
int ACE_Registry::Binding_Iterator::destroy | ( | void | ) |
Cleanup.
ACE_Registry::Naming_Context & ACE_Registry::Binding_Iterator::naming_context | ( | void | ) |
Get naming_context that the iterator is iterating over.
|
private |
Set naming_context that the iterator is iterating over.
int ACE_Registry::Binding_Iterator::next_n | ( | u_long | how_many, |
Binding_List & | list | ||
) |
Next <how_many> entries.
int ACE_Registry::Binding_Iterator::next_one | ( | Binding & | binding | ) |
Next entry.
void ACE_Registry::Binding_Iterator::reset | ( | void | ) |
Reset the internal state of the iterator.
|
friend |
|
friend |
|
friend |
Friend states.
|
friend |
Friend factory.
|
friend |
|
private |
|
private |
Pointer to current state.
|
private |
|
private |
Reference to context.
|
private |
Instances of all states.