| Quantum GIS API Documentation
    1.8
    | 
Helper class for sorting, takes into account sorting column and ascending / descending. More...
#include <qgscomposerattributetable.h>
| Public Member Functions | |
| QgsComposerAttributeTableCompare () | |
| bool | operator() (const QgsAttributeMap &m1, const QgsAttributeMap &m2) | 
| void | setSortColumn (int col) | 
| void | setAscending (bool asc) | 
| Private Attributes | |
| int | mCurrentSortColumn | 
| bool | mAscending | 
Helper class for sorting, takes into account sorting column and ascending / descending.
Definition at line 27 of file qgscomposerattributetable.h.
Definition at line 23 of file qgscomposerattributetable.cpp.
| bool QgsComposerAttributeTableCompare::operator() | ( | const QgsAttributeMap & | m1, | 
| const QgsAttributeMap & | m2 | ||
| ) | 
Definition at line 28 of file qgscomposerattributetable.cpp.
References mAscending, and mCurrentSortColumn.
| void QgsComposerAttributeTableCompare::setAscending | ( | bool | asc | ) |  [inline] | 
Definition at line 33 of file qgscomposerattributetable.h.
References mAscending.
Referenced by QgsComposerAttributeTable::getFeatureAttributes().
| void QgsComposerAttributeTableCompare::setSortColumn | ( | int | col | ) |  [inline] | 
Definition at line 32 of file qgscomposerattributetable.h.
References mCurrentSortColumn.
Referenced by QgsComposerAttributeTable::getFeatureAttributes().
| bool QgsComposerAttributeTableCompare::mAscending  [private] | 
Definition at line 36 of file qgscomposerattributetable.h.
Referenced by operator()(), and setAscending().
| int QgsComposerAttributeTableCompare::mCurrentSortColumn  [private] | 
Definition at line 35 of file qgscomposerattributetable.h.
Referenced by operator()(), and setSortColumn().
 1.7.6.1
 1.7.6.1