QGIS API Documentation
2.4.0-Chugiak
|
#include <qgsexpression.h>
Public Member Functions | |
Interval (double seconds=0) | |
~Interval () | |
double | years () |
double | months () |
double | weeks () |
double | days () |
double | hours () |
double | minutes () |
double | seconds () |
bool | isValid () |
void | setValid (bool valid) |
bool | operator== (const QgsExpression::Interval &other) const |
Static Public Member Functions | |
static QgsExpression::Interval | invalidInterVal () |
static QgsExpression::Interval | fromString (QString string) |
Private Attributes | |
double | mSeconds |
bool | mValid |
Static Private Attributes | |
static const int | YEARS = 31557600 |
static const int | MONTHS = 60 * 60 * 24 * 30 |
static const int | WEEKS = 60 * 60 * 24 * 7 |
static const int | DAY = 60 * 60 * 24 |
static const int | HOUR = 60 * 60 |
static const int | MINUTE = 60 |
Definition at line 375 of file qgsexpression.h.
|
inline |
Definition at line 386 of file qgsexpression.h.
QgsExpression::Interval::~Interval | ( | ) |
Definition at line 42 of file qgsexpression.cpp.
|
inline |
Definition at line 391 of file qgsexpression.h.
Referenced by fcnDay().
|
static |
Definition at line 51 of file qgsexpression.cpp.
References invalidInterVal(), and tr.
Referenced by getInterval(), and isIntervalSafe().
|
inline |
Definition at line 392 of file qgsexpression.h.
Referenced by fcnHour().
|
static |
Definition at line 44 of file qgsexpression.cpp.
References setValid().
Referenced by fromString(), and getInterval().
|
inline |
Definition at line 395 of file qgsexpression.h.
Referenced by fcnDay(), fcnHour(), fcnMinute(), fcnMonth(), fcnSeconds(), fcnWeek(), and fcnYear().
|
inline |
Definition at line 393 of file qgsexpression.h.
Referenced by fcnMinute().
|
inline |
Definition at line 389 of file qgsexpression.h.
Referenced by fcnMonth().
bool QgsExpression::Interval::operator== | ( | const QgsExpression::Interval & | other | ) | const |
Definition at line 110 of file qgsexpression.cpp.
References mSeconds.
|
inline |
Definition at line 394 of file qgsexpression.h.
Referenced by QgsExpression::NodeBinaryOperator::computeDateTimeFromInterval(), and fcnSeconds().
|
inline |
Definition at line 396 of file qgsexpression.h.
Referenced by invalidInterVal().
|
inline |
Definition at line 390 of file qgsexpression.h.
Referenced by fcnWeek().
|
inline |
Definition at line 388 of file qgsexpression.h.
Referenced by fcnYear().
|
staticprivate |
Definition at line 382 of file qgsexpression.h.
|
staticprivate |
Definition at line 383 of file qgsexpression.h.
|
staticprivate |
Definition at line 384 of file qgsexpression.h.
|
staticprivate |
Definition at line 380 of file qgsexpression.h.
|
private |
Definition at line 401 of file qgsexpression.h.
Referenced by operator==().
|
private |
Definition at line 402 of file qgsexpression.h.
|
staticprivate |
Definition at line 381 of file qgsexpression.h.
|
staticprivate |
Definition at line 379 of file qgsexpression.h.