Iterate through the ACE_Service_Repository.
More...
#include <Service_Repository.h>
Iterate through the ACE_Service_Repository.
Make sure not to delete entries as the iteration is going on since this class is not designed as a robust iterator.
ACE_Service_Repository_Iterator::ACE_Service_Repository_Iterator |
( |
ACE_Service_Repository & |
sr, |
|
|
bool |
ignored_suspended = true |
|
) |
| |
Constructor initializes the iterator.
ACE_Service_Repository_Iterator::~ACE_Service_Repository_Iterator |
( |
void |
| ) |
|
|
inline |
int ACE_Service_Repository_Iterator::advance |
( |
void |
| ) |
|
Move forward by one element in the repository. Returns 0 when all the items in the set have been seen, else 1.
int ACE_Service_Repository_Iterator::done |
( |
void |
| ) |
const |
|
inline |
Returns 1 when all items have been seen, else 0.
void ACE_Service_Repository_Iterator::dump |
( |
void |
| ) |
const |
Dump the state of an object.
int ACE_Service_Repository_Iterator::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.
bool ACE_Service_Repository_Iterator::valid |
( |
void |
| ) |
const |
|
private |
ACE_Service_Repository_Iterator::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
bool const ACE_Service_Repository_Iterator::ignore_suspended_ |
|
private |
Are we ignoring suspended services?
size_t ACE_Service_Repository_Iterator::next_ |
|
private |
Next index location that we haven't yet seen.
Reference to the Service Repository we are iterating over.
The documentation for this class was generated from the following files: