#include <ace/Service_Repository.h>
class ACE_Service_Repository_Iterator {
public:
ACE_Service_Repository_Iterator ( ACE_Service_Repository &sr, int ignored_suspended = 1 );
int next (const ACE_Service_Type *&next_item);
int done (void) const;
int advance (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
private:
ACE_Service_Repository &svc_rep_;
int next_;
int ignore_suspended_;
};
ACE_Service_Repository
.
ACE_Service_Repository_Iterator (
ACE_Service_Repository &sr,
int ignored_suspended = 1
);
int next (const ACE_Service_Type *&next_item);
next_item
that hasn't been seen in the set.
Returns 0 when all items have been seen, else 1.
int done (void) const;
int advance (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;