## NAME

ACE_Select_Reactor_Handler_Repository_Iterator - Iterate through the `ACE_Select_Reactor_Handler_Repository`.

## SYNOPSIS

    #include <ace/Select_Reactor_Base.h>

    class ACE_Select_Reactor_Handler_Repository_Iterator
    {
      public:
        ACE_Select_Reactor_Handler_Repository_Iterator (
            const ACE_Select_Reactor_Handler_Repository *s
            );
        ~ACE_Select_Reactor_Handler_Repository_Iterator (void);
        int next (ACE_Event_Handler *&next_item);
        int done (void) const;
        int advance (void);
        void dump (void) const;
        ACE_ALLOC_HOOK_DECLARE;
      private:
        const ACE_Select_Reactor_Handler_Repository *rep_;
        ssize_t current_;
    };

## Initialization method.

    ACE_Select_Reactor_Handler_Repository_Iterator (
        const ACE_Select_Reactor_Handler_Repository *s
        );

    ~ACE_Select_Reactor_Handler_Repository_Iterator (void);

dtor.

## Iteration methods.

    int next (ACE_Event_Handler *&next_item);

Pass back the `next_item` that hasn't been seen in the Set. Returns 0 when all items have been seen, else 1.

    int done (void) const;

Returns 1 when all items have been seen, else 0.

    int advance (void);

Move forward by one element in the set. Returns 0 when all the items in the set have been seen, else 1.

    void dump (void) const;

Dump the state of an object.

    ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

## AUTHOR

Doug Schmidt

## LIBRARY

ace