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

Iterates through ACE_Token_Proxy_Queues. More...

#include <Local_Tokens.h>

Collaboration diagram for ACE_TPQ_Iterator:
Collaboration graph
[legend]

Public Member Functions

 ACE_TPQ_Iterator (ACE_Token_Proxy_Queue &q)
 Constructor. More...
 
 ~ACE_TPQ_Iterator (void)
 Destructor. More...
 
int next (ACE_TPQ_Entry *&next_item)
 Pass back the next_item. More...
 
int done (void) const
 Returns 1 when all items have been seen, else 0. More...
 
void advance (void)
 Move forward by one element in the queue. More...
 
void dump (void) const
 Dump the state of an object. More...
 

Private Attributes

ACE_TPQ_Entrycurrent_
 

Detailed Description

Iterates through ACE_Token_Proxy_Queues.

Not a public interface.

Constructor & Destructor Documentation

ACE_TPQ_Iterator::ACE_TPQ_Iterator ( ACE_Token_Proxy_Queue q)

Constructor.

ACE_TPQ_Iterator::~ACE_TPQ_Iterator ( void  )
inline

Destructor.

Member Function Documentation

void ACE_TPQ_Iterator::advance ( void  )

Move forward by one element in the queue.

int ACE_TPQ_Iterator::done ( void  ) const

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

void ACE_TPQ_Iterator::dump ( void  ) const

Dump the state of an object.

int ACE_TPQ_Iterator::next ( ACE_TPQ_Entry *&  next_item)

Pass back the next_item.

Member Data Documentation

ACE_TPQ_Entry* ACE_TPQ_Iterator::current_
private

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