QGIS API Documentation  2.4.0-Chugiak
 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 138 of file qgsatlascomposition.cpp.

Constructor & Destructor Documentation

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

Definition at line 141 of file qgsatlascomposition.cpp.

Member Function Documentation

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

Definition at line 143 of file qgsatlascomposition.cpp.

References mAscending, and mKeys.

Member Data Documentation

bool FieldSorter::mAscending

Definition at line 164 of file qgsatlascomposition.cpp.

Referenced by operator()().

QgsAtlasComposition::SorterKeys& FieldSorter::mKeys

Definition at line 163 of file qgsatlascomposition.cpp.

Referenced by operator()().

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