#include <Service_Repository.h>
Collaboration diagram for ACE_Service_Repository_Iterator:

Public Methods | |
| ACE_Service_Repository_Iterator (ACE_Service_Repository &sr, int ignored_suspended=1) | |
| Constructor initializes the iterator. More... | |
| ~ACE_Service_Repository_Iterator (void) | |
| Destructor. More... | |
| int | next (const ACE_Service_Type *&next_item) |
| Pass back the <next_item> that hasn't been seen in the repository. Returns 0 when all items have been seen, else 1. More... | |
| int | done (void) const |
| Returns 1 when all items have been seen, else 0. More... | |
| int | advance (void) |
| Move forward by one element in the repository. Returns 0 when all the items in the set have been seen, else 1. More... | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Private Attributes | |
| ACE_Service_Repository & | svc_rep_ |
| Reference to the Service Repository we are iterating over. More... | |
| int | next_ |
| Next index location that we haven't yet seen. More... | |
| int | ignore_suspended_ |
| Are we ignoring suspended services? More... | |
Make sure not to delete entries as the iteration is going on since this class is not designed as a robust iterator.
|
||||||||||||
|
Constructor initializes the iterator.
|
|
|
Destructor.
|
|
|
Move forward by one element in the repository. Returns 0 when all the items in the set have been seen, else 1.
|
|
|
Returns 1 when all items have been seen, else 0.
|
|
|
Dump the state of an object.
|
|
|
Pass back the <next_item> that hasn't been seen in the repository. Returns 0 when all items have been seen, else 1.
|
|
|
Declare the dynamic allocation hooks.
|
|
|
Are we ignoring suspended services?
|
|
|
Next index location that we haven't yet seen.
|
|
|
Reference to the Service Repository we are iterating over.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001