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::MPath::ConstIter Class Reference

#include <cartotype_path.h>

Public Member Functions

 ConstIter (const MPath &aPath, size_t aIndex)
 
ConstIter operator++ ()
 
bool operator!= (const ConstIter &aOther) const
 
ContourView operator* () const
 

Detailed Description

A constant iterator class to iterate over the contours of a path; used by begin() and end().

Constructor & Destructor Documentation

◆ ConstIter()

CartoTypeCore::MPath::ConstIter::ConstIter ( const MPath aPath,
size_t  aIndex 
)
inline

Creates a constant iterator over a path, starting at contour number aIndex.

Member Function Documentation

◆ operator!=()

bool CartoTypeCore::MPath::ConstIter::operator!= ( const ConstIter aOther) const
inline

The inequality operator.

◆ operator*()

ContourView CartoTypeCore::MPath::ConstIter::operator* ( ) const
inline

Returns the contour to which this iterator refers.

◆ operator++()

ConstIter CartoTypeCore::MPath::ConstIter::operator++ ( )
inline

Increments this iterator to refer to the next contour.


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