QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
QgsExpression::Interval Class Reference

#include <qgsexpression.h>

Public Member Functions

 Interval (double seconds=0)
 ~Interval ()
double days ()
double hours ()
bool isValid ()
double minutes ()
double months ()
bool operator== (const QgsExpression::Interval &other) const
double seconds ()
void setValid (bool valid)
double weeks ()
double years ()

Static Public Member Functions

static QgsExpression::Interval fromString (QString string)
static QgsExpression::Interval invalidInterVal ()

Detailed Description

Definition at line 423 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::Interval::Interval ( double  seconds = 0)
inline

Definition at line 434 of file qgsexpression.h.

QgsExpression::Interval::~Interval ( )

Definition at line 42 of file qgsexpression.cpp.

Member Function Documentation

double QgsExpression::Interval::days ( )
inline

Definition at line 439 of file qgsexpression.h.

QgsExpression::Interval QgsExpression::Interval::fromString ( QString  string)
static

Definition at line 51 of file qgsexpression.cpp.

double QgsExpression::Interval::hours ( )
inline

Definition at line 440 of file qgsexpression.h.

QgsExpression::Interval QgsExpression::Interval::invalidInterVal ( )
static

Definition at line 44 of file qgsexpression.cpp.

bool QgsExpression::Interval::isValid ( )
inline

Definition at line 443 of file qgsexpression.h.

double QgsExpression::Interval::minutes ( )
inline

Definition at line 441 of file qgsexpression.h.

double QgsExpression::Interval::months ( )
inline

Definition at line 437 of file qgsexpression.h.

bool QgsExpression::Interval::operator== ( const QgsExpression::Interval other) const

Definition at line 110 of file qgsexpression.cpp.

double QgsExpression::Interval::seconds ( )
inline

Definition at line 442 of file qgsexpression.h.

void QgsExpression::Interval::setValid ( bool  valid)
inline

Definition at line 444 of file qgsexpression.h.

double QgsExpression::Interval::weeks ( )
inline

Definition at line 438 of file qgsexpression.h.

double QgsExpression::Interval::years ( )
inline

Definition at line 436 of file qgsexpression.h.


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