Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/Enumeration.hpp>
Inherits Object.
An object that implements the Enumeration interface generates a series of elements, one at a time.
Successive calls to the nextElement method return successive elements of the series.
Public Types |
|
| typedef spec::Handle | Handle |
| Enumeration Handle definition. | |
| typedef spec::View | View |
| Enumeration View definition. | |
| typedef spec::Holder | Holder |
| Enumeration Holder definition. | |
Public Member Functions |
|
| virtual bool | hasMoreElements () const =0 |
| Tests if this enumeration contains more elements. | |
| virtual Object::Holder | nextElement ()=0 |
| Returns the next element of this enumeration if this enumeration object has at least one more element to provide. | |
| virtual bool hasMoreElements | ( | ) | const [pure virtual] |
Tests if this enumeration contains more elements.
| virtual Object::Holder nextElement | ( | ) | [pure virtual] |
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
| coherence::lang::NoSuchElementException | if no more elements exist. |
The documentation for this class was generated from the following file: