QGIS API Documentation  2.5.0-Master
 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 140 of file qgsatlascomposition.cpp.

Constructor & Destructor Documentation

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

Definition at line 143 of file qgsatlascomposition.cpp.

Member Function Documentation

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

Definition at line 145 of file qgsatlascomposition.cpp.

References mAscending, and mKeys.

Member Data Documentation

bool FieldSorter::mAscending
private

Definition at line 166 of file qgsatlascomposition.cpp.

Referenced by operator()().

QgsAtlasComposition::SorterKeys& FieldSorter::mKeys
private

Definition at line 165 of file qgsatlascomposition.cpp.

Referenced by operator()().


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