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

rwsf::Enumeration<T>

Group:  General


rwsf::Enumeration<T> rwsf::HandleBase

Local Index

Members

Header File

#include <rwsf/core/Enumeration.h>

Description

rwsf::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 class is used internally by Hydra, 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

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks and HydraSDO is a 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.