Quantum GIS API Documentation  1.8
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
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 QgsSearchTreeValue compare (QgsSearchTreeValue &value1, QgsSearchTreeValue &value2, Qt::CaseSensitivity=Qt::CaseSensitive)

Private Attributes

Type mType
QString mString
double mNumber

Detailed Description

Definition at line 257 of file qgssearchtreenode.h.

Member Enumeration Documentation


Definition at line 261 of file qgssearchtreenode.h.

Constructor & Destructor Documentation

Definition at line 269 of file qgssearchtreenode.h.

Referenced by compare().

QgsSearchTreeValue::QgsSearchTreeValue ( QString  string) [inline]

Definition at line 270 of file qgssearchtreenode.h.

QgsSearchTreeValue::QgsSearchTreeValue ( double  number) [inline]

Definition at line 271 of file qgssearchtreenode.h.

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

Definition at line 272 of file qgssearchtreenode.h.

Member Function Documentation

QgsSearchTreeValue QgsSearchTreeValue::compare ( QgsSearchTreeValue value1,
QgsSearchTreeValue value2,
Qt::CaseSensitivity  cs = Qt::CaseSensitive 
) [static]
bool QgsSearchTreeValue::isError ( ) [inline]
bool QgsSearchTreeValue::isNull ( ) [inline]

Definition at line 279 of file qgssearchtreenode.h.

Referenced by QgsSearchTreeNode::checkAgainst().

bool QgsSearchTreeValue::isNumeric ( ) [inline]
double QgsSearchTreeValue::number ( ) [inline]
QString& QgsSearchTreeValue::string ( ) [inline]

Member Data Documentation

double QgsSearchTreeValue::mNumber [private]

Definition at line 287 of file qgssearchtreenode.h.

QString QgsSearchTreeValue::mString [private]

Definition at line 286 of file qgssearchtreenode.h.

Definition at line 285 of file qgssearchtreenode.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines