QgsSearchTreeValue Class Reference

#include <qgssearchtreenode.h>

List of all members.

Public Types

enum  Type { valError, valString, valNumber, valNull }

Public Member Functions

 QgsSearchTreeValue ()
 QgsSearchTreeValue (QString string)
 QgsSearchTreeValue (double number)
 QgsSearchTreeValue (int error, QString errorMsg)
bool isNumeric ()
bool isError ()
bool isNull ()
QString & string ()
double number ()

Static Public Member Functions

static int compare (QgsSearchTreeValue &value1, QgsSearchTreeValue &value2, Qt::CaseSensitivity=Qt::CaseSensitive)

Private Attributes

Type mType
QString mString
double mNumber

Detailed Description

Definition at line 243 of file qgssearchtreenode.h.

Member Enumeration Documentation


Definition at line 247 of file qgssearchtreenode.h.

Constructor & Destructor Documentation

QgsSearchTreeValue::QgsSearchTreeValue (  )  [inline]

Definition at line 255 of file qgssearchtreenode.h.

QgsSearchTreeValue::QgsSearchTreeValue ( QString  string  )  [inline]

Definition at line 256 of file qgssearchtreenode.h.

QgsSearchTreeValue::QgsSearchTreeValue ( double  number  )  [inline]

Definition at line 257 of file qgssearchtreenode.h.

QgsSearchTreeValue::QgsSearchTreeValue ( int  error,
QString  errorMsg 
) [inline]

Definition at line 258 of file qgssearchtreenode.h.

Member Function Documentation

int QgsSearchTreeValue::compare ( QgsSearchTreeValue value1,
QgsSearchTreeValue value2,
Qt::CaseSensitivity  cs = Qt::CaseSensitive 
) [static]

Definition at line 813 of file qgssearchtreenode.cpp.

References isNumeric(), number(), QgsDebugMsgLevel, and string().

Referenced by QgsSearchTreeNode::checkAgainst().

bool QgsSearchTreeValue::isNumeric (  )  [inline]

bool QgsSearchTreeValue::isError (  )  [inline]

Definition at line 264 of file qgssearchtreenode.h.

Referenced by QgsSearchTreeNode::getValue().

bool QgsSearchTreeValue::isNull (  )  [inline]

Definition at line 265 of file qgssearchtreenode.h.

Referenced by QgsSearchTreeNode::checkAgainst().

QString& QgsSearchTreeValue::string (  )  [inline]

double QgsSearchTreeValue::number (  )  [inline]

Member Data Documentation

Definition at line 271 of file qgssearchtreenode.h.

QString QgsSearchTreeValue::mString [private]

Definition at line 272 of file qgssearchtreenode.h.

double QgsSearchTreeValue::mNumber [private]

Definition at line 273 of file qgssearchtreenode.h.

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

Generated on Sat Feb 4 19:17:51 2012 for Quantum GIS API Documentation by  doxygen 1.5.6