ACE  6.4.2
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
ACE_Select_Reactor_Handler_Repository_Iterator Class Reference

Iterate through the ACE_Select_Reactor_Handler_Repository. More...

#include <Select_Reactor_Base.h>

Collaboration diagram for ACE_Select_Reactor_Handler_Repository_Iterator:
Collaboration graph
[legend]

Public Types

typedef ACE_Select_Reactor_Handler_Repository::map_type::const_iterator const_base_iterator
 

Public Member Functions

 ACE_Select_Reactor_Handler_Repository_Iterator (ACE_Select_Reactor_Handler_Repository const *s)
 
bool next (ACE_Event_Handler *&next_item)
 
bool done (void) const
 Returns true when all items have been seen, else false. More...
 
bool advance (void)
 
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_Select_Reactor_Handler_Repository const *const rep_
 Reference to the Handler_Repository we are iterating over. More...
 
const_base_iterator current_
 Pointer to the current iteration level. More...
 

Detailed Description

Iterate through the ACE_Select_Reactor_Handler_Repository.

Member Typedef Documentation

Constructor & Destructor Documentation

ACE_Select_Reactor_Handler_Repository_Iterator::ACE_Select_Reactor_Handler_Repository_Iterator ( ACE_Select_Reactor_Handler_Repository const *  s)
explicit

Member Function Documentation

bool ACE_Select_Reactor_Handler_Repository_Iterator::advance ( void  )

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

bool ACE_Select_Reactor_Handler_Repository_Iterator::done ( void  ) const
inline

Returns true when all items have been seen, else false.

void ACE_Select_Reactor_Handler_Repository_Iterator::dump ( void  ) const

Dump the state of an object.

bool ACE_Select_Reactor_Handler_Repository_Iterator::next ( ACE_Event_Handler *&  next_item)

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

Member Data Documentation

ACE_Select_Reactor_Handler_Repository_Iterator::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

const_base_iterator ACE_Select_Reactor_Handler_Repository_Iterator::current_
private

Pointer to the current iteration level.

ACE_Select_Reactor_Handler_Repository const* const ACE_Select_Reactor_Handler_Repository_Iterator::rep_
private

Reference to the Handler_Repository we are iterating over.


The documentation for this class was generated from the following files: