#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 |
Definition at line 27 of file qgscomposerattributetable.h.
QgsComposerAttributeTableCompare::QgsComposerAttributeTableCompare | ( | ) |
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::setSortColumn | ( | int | col | ) | [inline] |
Definition at line 32 of file qgscomposerattributetable.h.
References mCurrentSortColumn.
Referenced by QgsComposerAttributeTable::getFeatureAttributes().
void QgsComposerAttributeTableCompare::setAscending | ( | bool | asc | ) | [inline] |
Definition at line 33 of file qgscomposerattributetable.h.
References mAscending.
Referenced by QgsComposerAttributeTable::getFeatureAttributes().
int QgsComposerAttributeTableCompare::mCurrentSortColumn [private] |
Definition at line 35 of file qgscomposerattributetable.h.
Referenced by operator()(), and setSortColumn().
bool QgsComposerAttributeTableCompare::mAscending [private] |
Definition at line 36 of file qgscomposerattributetable.h.
Referenced by operator()(), and setAscending().