QGIS API Documentation  2.2.0-Valmiera
 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

QgsAtlasComposition::SorterKeysmKeys
bool mAscending

Detailed Description

Definition at line 157 of file qgsatlascomposition.cpp.

Constructor & Destructor Documentation

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

Definition at line 160 of file qgsatlascomposition.cpp.

Member Function Documentation

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

Definition at line 162 of file qgsatlascomposition.cpp.

References mAscending, and mKeys.

Member Data Documentation

bool FieldSorter::mAscending
private

Definition at line 183 of file qgsatlascomposition.cpp.

Referenced by operator()().

QgsAtlasComposition::SorterKeys& FieldSorter::mKeys
private

Definition at line 182 of file qgsatlascomposition.cpp.

Referenced by operator()().


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