Rogue Wave Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
IlsDictionary< ValueType >::Iterator Class Reference

IlsDictionary iterator. More...

#include <ilserver/model.h>

Public Member Functions

 Iterator (IlsDictionary &)
 Creates an iterator for the dictionary supplied as its argument.
 
 Iterator (Iterator &)
 Copy constructor. Creates an iterator with the same characteristics as the one supplied as its argument. This iterator points to the same location in the dictionary as the iterator supplied as its argument.
 
 operator IlsBoolean ()
 This conversion operator indicates whether the iterator has reached the end of the dictionary. It returns IlsFalse if at least one extraction operation was unsuccessful.
 
Iteratoroperator>> (ValueTypeP &)
 Sequentially reads the items in the dictionary. More...
 
void reset ()
 Resets the iterator so that it points again to the first item of the dictionary.
 

Detailed Description

template<class ValueType>
class IlsDictionary< ValueType >::Iterator

IlsDictionary iterator.

Library: server

See also
IlsDictionary

Member Function Documentation

§ operator>>()

template<class ValueType>
Iterator& IlsDictionary< ValueType >::Iterator::operator>> ( ValueTypeP )

Sequentially reads the items in the dictionary.

When the iterator is used for the first time, the item read is the one at the beginning of the dictionary. If the iterator has reached the last item in the dictionary and if the dictionary is not empty, no value is assigned to the argument of the operator during the next read operation. The conversion operator to IlsBoolean returns IlsFalse. (See operator IlsBoolean below.) If an iterator is built for an empty dictionary, the conversion operator returns IlsFalse.


© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.