CosNaming::BindingIterator Interface Reference

The BindingIterator interface allows a client to iterate through the bindings using the next_one or next_n operations. More...

import "CosNaming.idl";

List of all members.

Public Member Functions

boolean next_one (out Binding b)
 This operation returns the next binding.
boolean next_n (in unsigned long how_many, out BindingList bl)
 This operation returns at most the requested number of bindings.
void destroy ()
 This operation destroys the iterator.


Detailed Description

The BindingIterator interface allows a client to iterate through the bindings using the next_one or next_n operations.


Member Function Documentation

void CosNaming::BindingIterator::destroy (  ) 

This operation destroys the iterator.

boolean CosNaming::BindingIterator::next_n ( in unsigned long  how_many,
out BindingList  bl 
)

This operation returns at most the requested number of bindings.

how_many - maximum number of binding to return in bl. bl - list of bindings.

boolean CosNaming::BindingIterator::next_one ( out Binding  b  ) 

This operation returns the next binding.

If there are no more bindings, false is returned.

b - next binding.