Aspose::Cells::Enumerator class

Enumerator class

Enumeration template class, provides a simple way to iterate over a collection.

template<typenameT>class Enumerator
ParameterDescription
T

Methods

MethodDescription
Enumerator(void* impl)Constructs from an implementation object. Internal use.
Enumerator(const Enumerator <T>& src)Copy constructor.
GetCurrent()Gets the current element in the enumeration.
IsNull() constChecks whether the implementation object is nullptr.
MoveNext()Advances the enumerator to the next element of the enumeration and returns a boolean indicating whether an element is available.
explicit operator bool() constoperator bool()
operator=(const Enumerator <T>& src)operator=
Reset()Resets the enumerator to the beginning of the enumeration.
~Enumerator()Destructor.

See Also