CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoTypeCore::MIter< T > Class Template Referenceabstract

#include <cartotype_iter.h>

Public Member Functions

virtual Result Next (T &aValue)=0
 
virtual void Back ()=0
 

Detailed Description

template<class T>
class CartoTypeCore::MIter< T >

The iterator interface provides a sequence of objects of any type.

Member Function Documentation

◆ Back()

template<class T >
virtual void CartoTypeCore::MIter< T >::Back ( )
pure virtual

Back up one position if possible so that the next call to Next returns the same object as the previous call.

Implemented in CartoTypeCore::Utf8ToUtf32, CartoTypeCore::Utf16ToUtf32, CartoTypeCore::Utf32Iter, and CartoTypeCore::FoldingIterator.

◆ Next()

template<class T >
virtual Result CartoTypeCore::MIter< T >::Next ( T &  aValue)
pure virtual

Gets the next object. Returns KErrorNone if an object was retrieved, KErrorEndOfData if there are no more objects, or some other result code if there was a different type of error.

Implemented in CartoTypeCore::FoldingIterator, CartoTypeCore::Utf8ToUtf32, CartoTypeCore::Utf16ToUtf32, and CartoTypeCore::Utf32Iter.


The documentation for this class was generated from the following file: