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. | |
| int | next_one (Binding &binding) |
| Next entry. | |
| int | next_n (u_long how_many, Binding_List &list) |
| Next <how_many> entries. | |
| int | destroy (void) |
| Cleanup. | |
| void | reset (void) |
| Reset the internal state of the iterator. | |
| Naming_Context & | naming_context (void) |
| Get naming_context that the iterator is iterating over. | |
Private Member Functions | |
| void | naming_context (Naming_Context &naming_context) |
| Set naming_context that the iterator is iterating over. | |
| void | current_enumeration (Iteration_State ¤t_enumeration) |
| Set current_enumeration. | |
| Iteration_State & | current_enumeration (void) |
| Get current_enumeration. | |
Private Attributes | |
| Naming_Context * | naming_context_ |
| Reference to context. | |
| Object_Iteration | object_iteration_ |
| Instances of all states. | |
| Context_Iteration | context_iteration_ |
| Iteration_Complete | iteration_complete_ |
| Iteration_State * | current_enumeration_ |
| Pointer to current state. | |
Friends | |
| class | Naming_Context |
| Friend factory. | |
| class | Iteration_State |
| Friend states. | |
| class | Object_Iteration |
| class | Context_Iteration |
| class | Iteration_Complete |
An iterator.
Useful when iteratorating over a few entries at a time
Definition at line 417 of file Registry.h.
| ACE_Registry::Binding_Iterator::Binding_Iterator | ( | void | ) |
Default constructor.
| Iteration_State& ACE_Registry::Binding_Iterator::current_enumeration | ( | void | ) | [private] |
Get current_enumeration.
| void ACE_Registry::Binding_Iterator::current_enumeration | ( | Iteration_State & | current_enumeration | ) | [private] |
Set current_enumeration.
| int ACE_Registry::Binding_Iterator::destroy | ( | void | ) |
Cleanup.
| void ACE_Registry::Binding_Iterator::naming_context | ( | Naming_Context & | naming_context | ) | [private] |
Set naming_context that the iterator is iterating over.
| Naming_Context& ACE_Registry::Binding_Iterator::naming_context | ( | void | ) |
Get 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 class Context_Iteration [friend] |
Definition at line 512 of file Registry.h.
friend class Iteration_Complete [friend] |
Definition at line 513 of file Registry.h.
friend class Iteration_State [friend] |
Friend states.
Definition at line 510 of file Registry.h.
friend class Naming_Context [friend] |
Friend factory.
Definition at line 421 of file Registry.h.
friend class Object_Iteration [friend] |
Definition at line 511 of file Registry.h.
Definition at line 517 of file Registry.h.
Pointer to current state.
Definition at line 521 of file Registry.h.
Definition at line 518 of file Registry.h.
Reference to context.
Definition at line 448 of file Registry.h.
Instances of all states.
Definition at line 516 of file Registry.h.
1.6.1