Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
LEIF Core Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

LEIF::Enumeration<T>

Group:  General


LEIF::Enumeration<T> LEIF:HandleBase

Local Index

Members

Header File

#include <rw/leif/core/Enumeration.h>

Description

LEIF::Enumeration<T> holds a sequence of values of type T. The class provides a convenient interface for iterating over the sequence. This class implements the handle/body idiom in which this class is the handle, and EnumerationImp is the body.

This is class is used internally by LEIF, which populates the enumeration using one of several possible collection types. This class lets you easily iterate through the enumeration elements without having to know anything about the underlying data structure.

Public Constructors

Enumeration();
Enumeration(const Enumeration<T>& rhs);

Public Destructor

~Enumeration();

Public Member Operators

Enumeration<T>& 
operator=(const Enumeration<T>& rhs);

Public Member Functions

bool 
hasMoreElements() const;
T
nextElement();


Previous fileTop of DocumentContentsIndex pageNext file

©2003-2005 Copyright Quovadx, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.