System::Collections::Generic::SimpleEnumerator class
Contents
[
Hide
]SimpleEnumerator class
Iterator class for simple containers holding elements directly using rbegin() and rend() functions. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<typename Container,typename Element>class SimpleEnumerator : public System::Collections::Generic::BaseEnumerator<Container, typename Container::value_type>
Parameter | Description |
---|---|
Container | Container type to iterate through. |
Element | Element type. |
Methods
Method | Description |
---|---|
CloneIterator() const override | Clones current iterator. |
get_Current() const override | Gets ‘current’ element. |
SimpleEnumerator(Object::ptr, Container&) | Creates simple iterator. |
See Also
- Class BaseEnumerator
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++