TAO_CosTrader  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAO_Query_Only_Offer_Iterator Class Reference

#include <Offer_Iterators.h>

Inheritance diagram for TAO_Query_Only_Offer_Iterator:
Inheritance graph
Collaboration diagram for TAO_Query_Only_Offer_Iterator:
Collaboration graph

Public Member Functions

 TAO_Query_Only_Offer_Iterator (const TAO_Property_Filter &pfilter)
virtual ~TAO_Query_Only_Offer_Iterator (void)
virtual CORBA::Boolean next_n (CORBA::ULong n, CosTrading::OfferSeq_out offers)
virtual CORBA::ULong max_left (void)
 Return the number of items left in the iterator. More...
void add_offer (CosTrading::OfferId offer_id, const CosTrading::Offer *offer)
 Add an offer the iterator should iterate over. More...
- Public Member Functions inherited from TAO_Offer_Iterator
 TAO_Offer_Iterator (const TAO_Property_Filter &property_filter)
virtual ~TAO_Offer_Iterator (void)
virtual void destroy (void)

Private Member Functions

 TAO_Query_Only_Offer_Iterator (const TAO_Query_Only_Offer_Iterator &)
TAO_Query_Only_Offer_Iteratoroperator= (const TAO_Query_Only_Offer_Iterator &)

Private Attributes

< CosTrading::Offer * > 

Additional Inherited Members

- Protected Member Functions inherited from TAO_Offer_Iterator
TAO_Offer_Iteratoroperator= (const TAO_Offer_Iterator &)
- Protected Attributes inherited from TAO_Offer_Iterator
TAO_Property_Filter pfilter_

Constructor & Destructor Documentation

TAO_Query_Only_Offer_Iterator::TAO_Query_Only_Offer_Iterator ( const TAO_Property_Filter pfilter)
TAO_Query_Only_Offer_Iterator::~TAO_Query_Only_Offer_Iterator ( void  )
TAO_Query_Only_Offer_Iterator::TAO_Query_Only_Offer_Iterator ( const TAO_Query_Only_Offer_Iterator )

Member Function Documentation

void TAO_Query_Only_Offer_Iterator::add_offer ( CosTrading::OfferId  offer_id,
const CosTrading::Offer offer 

Add an offer the iterator should iterate over.

Implements TAO_Offer_Iterator.

CORBA::ULong TAO_Query_Only_Offer_Iterator::max_left ( void  )

Return the number of items left in the iterator.

Implements TAO_Offer_Iterator.

CORBA::Boolean TAO_Query_Only_Offer_Iterator::next_n ( CORBA::ULong  n,
CosTrading::OfferSeq_out  offers 

Deposit at maximum n offers into the return sequence and return 1, or return 0 if the iterator is done and no offers are returned.

Implements TAO_Offer_Iterator.

TAO_Query_Only_Offer_Iterator& TAO_Query_Only_Offer_Iterator::operator= ( const TAO_Query_Only_Offer_Iterator )

Member Data Documentation

ACE_Unbounded_Queue<CosTrading::Offer *> TAO_Query_Only_Offer_Iterator::offers_

Structure that stores pointers to offers to iterate over.

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