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