QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
FieldSorter Class Reference

Public Member Functions

 FieldSorter (QgsAtlasComposition::SorterKeys &keys, bool ascending=true)
bool operator() (const QgsFeatureId &id1, const QgsFeatureId &id2)

Private Attributes

bool mAscending

Detailed Description

Definition at line 60 of file qgsatlascomposition.cpp.

Constructor & Destructor Documentation

FieldSorter::FieldSorter ( QgsAtlasComposition::SorterKeys keys,
bool  ascending = true 

Definition at line 63 of file qgsatlascomposition.cpp.

Member Function Documentation

bool FieldSorter::operator() ( const QgsFeatureId id1,
const QgsFeatureId id2 

Definition at line 65 of file qgsatlascomposition.cpp.

References mAscending, and mKeys.

Member Data Documentation

bool FieldSorter::mAscending

Definition at line 86 of file qgsatlascomposition.cpp.

Referenced by operator()().

QgsAtlasComposition::SorterKeys& FieldSorter::mKeys

Definition at line 85 of file qgsatlascomposition.cpp.

Referenced by operator()().

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