Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

CosTrading::OfferIdIterator Interface Reference

This interface supports operations to iterate through lists of OfferIds returned by the CosTrading::Admin interface. More...

import "CosTrading.idl";

List of all members.

Public Methods

unsigned long max_left () raises (UnknownMaxLeft)
 This operation returns the number of remaining OfferIds contained within the iterator. More...

boolean next_n (in unsigned long n, out OfferIdSeq ids)
 This operation returns up to a specified number of remaining OfferIDs. More...

void destroy ()
 This operation destroys the OfferIDIterator and and any OfferIds it contains. More...


Detailed Description

This interface supports operations to iterate through lists of OfferIds returned by the CosTrading::Admin interface.


Member Function Documentation

void CosTrading::OfferIdIterator::destroy  
 

This operation destroys the OfferIDIterator and and any OfferIds it contains.

This should be called after a client has finished with the iterator.

unsigned long CosTrading::OfferIdIterator::max_left   raises (UnknownMaxLeft)
 

This operation returns the number of remaining OfferIds contained within the iterator.

Returns:
- The number of remaining OfferIds. @raises UnknownMaxLeft - If the number of remaining OfferIds cannot be determined.

boolean CosTrading::OfferIdIterator::next_n in unsigned long    n,
out OfferIdSeq    ids
 

This operation returns up to a specified number of remaining OfferIDs.

Parameters:
n  - The number of OfferIds to return.
ids  - The sequence of returned OfferIds.
Returns:
- TRUE if there are more OfferIds to retrieve.