TAO_CosTrader
2.0.8
|
#include <Offer_Iterators.h>
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. | |
void | add_offer (CosTrading::OfferId offer_id, const CosTrading::Offer *offer) |
Add an offer the iterator should iterate over. | |
Private Member Functions | |
TAO_Query_Only_Offer_Iterator (const TAO_Query_Only_Offer_Iterator &) | |
TAO_Query_Only_Offer_Iterator & | operator= (const TAO_Query_Only_Offer_Iterator &) |
Private Attributes | |
ACE_Unbounded_Queue < CosTrading::Offer * > | offers_ |
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 | ) | [virtual] |
TAO_Query_Only_Offer_Iterator::TAO_Query_Only_Offer_Iterator | ( | const TAO_Query_Only_Offer_Iterator & | ) | [private] |
void TAO_Query_Only_Offer_Iterator::add_offer | ( | CosTrading::OfferId | offer_id, |
const CosTrading::Offer * | offer | ||
) | [virtual] |
Add an offer the iterator should iterate over.
Implements TAO_Offer_Iterator.
CORBA::ULong TAO_Query_Only_Offer_Iterator::max_left | ( | void | ) | [virtual] |
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 | ||
) | [virtual] |
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 & | ) | [private] |
Structure that stores pointers to offers to iterate over.