Search for usage in LXR

#include <KDbExpressionData.h>

Inheritance diagram for KDbConstExpressionData:

Public Member Functions

 KDbConstExpressionData (const QVariant &aValue=QVariant())
KDbConstExpressionDataclone () override
void getQueryParameters (QList< KDbQuerySchemaParameter > *params) override
- Public Member Functions inherited from KDbExpressionData
template<typename T >
T * convert ()
template<typename T >
const T * convertConst () const
QDebug debug (QDebug dbg, KDb::ExpressionCallStack *callStack) const
bool isDateTimeType () const
bool isFPNumericType () const
bool isIntegerType () const
bool isNumericType () const
bool isTextType () const
bool isValid () const
KDbEscapedString toString (const KDbDriver *driver, KDbQuerySchemaParameterValueListIterator *params=nullptr, KDb::ExpressionCallStack *callStack=nullptr) const
KDbField::Type type () const
KDbField::Type type (KDb::ExpressionCallStack *callStack) const
bool validate (KDbParseInfo *parseInfo)
bool validate (KDbParseInfo *parseInfo, KDb::ExpressionCallStack *callStack)
- Public Member Functions inherited from QSharedData
 QSharedData (const QSharedData &)

Public Attributes

QVariant value
- Public Attributes inherited from KDbExpressionData
QList< ExplicitlySharedExpressionDataPointerchildren
KDb::ExpressionClass expressionClass
ExplicitlySharedExpressionDataPointer parent
KDbToken token

Protected Member Functions

void debugInternal (QDebug dbg, KDb::ExpressionCallStack *callStack) const override
KDbEscapedString toStringInternal (const KDbDriver *driver, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack) const override
KDbField::Type typeInternal (KDb::ExpressionCallStack *callStack) const override
bool validateInternal (KDbParseInfo *parseInfo, KDb::ExpressionCallStack *callStack) override
- Protected Member Functions inherited from KDbExpressionData
bool addToCallStack (QDebug *dbg, KDb::ExpressionCallStack *callStack) const

Detailed Description

Internal data class used to implement implicitly shared class KDbConstExpression.

Provides thread-safe reference counting.

Definition at line 217 of file KDbExpressionData.h.

Constructor & Destructor Documentation

◆ KDbConstExpressionData()

KDbConstExpressionData::KDbConstExpressionData ( const QVariant & aValue = QVariant())

Definition at line 32 of file KDbConstExpression.cpp.

◆ ~KDbConstExpressionData()

KDbConstExpressionData::~KDbConstExpressionData ( )

Definition at line 39 of file KDbConstExpression.cpp.

Member Function Documentation

◆ clone()

KDbConstExpressionData * KDbConstExpressionData::clone ( )

Reimplemented from KDbExpressionData.

Definition at line 44 of file KDbConstExpression.cpp.

◆ debugInternal()

void KDbConstExpressionData::debugInternal ( QDebug dbg,
KDb::ExpressionCallStack * callStack ) const

Sends information about this expression to debug output dbg (internal).

Reimplemented from KDbExpressionData.

Reimplemented in KDbQueryParameterExpressionData.

Definition at line 107 of file KDbConstExpression.cpp.

◆ getQueryParameters()

void KDbConstExpressionData::getQueryParameters ( QList< KDbQuerySchemaParameter > * params)

Reimplemented from KDbExpressionData.

Definition at line 153 of file KDbConstExpression.cpp.

◆ toStringInternal()

KDbEscapedString KDbConstExpressionData::toStringInternal ( const KDbDriver * driver,
KDbQuerySchemaParameterValueListIterator * params,
KDb::ExpressionCallStack * callStack ) const
better escaping!

Reimplemented from KDbExpressionData.

Definition at line 121 of file KDbConstExpression.cpp.

◆ typeInternal()

KDbField::Type KDbConstExpressionData::typeInternal ( KDb::ExpressionCallStack * callStack) const
add sign info?

Reimplemented from KDbExpressionData.

Definition at line 50 of file KDbConstExpression.cpp.

◆ validateInternal()

bool KDbConstExpressionData::validateInternal ( KDbParseInfo * parseInfo,
KDb::ExpressionCallStack * callStack )

Reimplemented from KDbExpressionData.

Definition at line 158 of file KDbConstExpression.cpp.

Member Data Documentation

◆ value

QVariant KDbConstExpressionData::value

Definition at line 223 of file KDbExpressionData.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.