#include <Stream.h>
Public Member Functions | |
ACE_Stream_Iterator (const ACE_Stream< ACE_SYNCH_USE > &sr) | |
int | next (const ACE_Module< ACE_SYNCH_USE > *&next_item) |
int | done (void) const |
Returns 1 when all items have been seen, else 0. | |
int | advance (void) |
Private Attributes | |
ACE_Module< ACE_SYNCH_USE > * | next_ |
Next <Module> that we haven't yet seen. |
ACE_Stream_Iterator<>::ACE_Stream_Iterator | ( | const ACE_Stream< ACE_SYNCH_USE > & | sr | ) | [inline] |
ACE_INLINE int ACE_Stream_Iterator<>::next | ( | const ACE_Module< ACE_SYNCH_USE > *& | next_item | ) | [inline] |
Pass back the <next_item> that hasn't been seen in the set. Returns 0 when all items have been seen, else 1.
ACE_INLINE int ACE_Stream_Iterator<>::done | ( | void | ) | const [inline] |
Returns 1 when all items have been seen, else 0.
int ACE_Stream_Iterator<>::advance | ( | void | ) | [inline] |
Move forward by one element in the set. Returns 0 when all the items in the set have been seen, else 1.
ACE_Module<ACE_SYNCH_USE>* ACE_Stream_Iterator<>::next_ [private] |
Next <Module> that we haven't yet seen.