KDbExpressionData

Search for usage in LXR

#include <KDbExpressionData.h>

Inheritance diagram for KDbExpressionData:

Public Member Functions

virtual KDbExpressionDataclone ()
 
template<typename T >
T * convert ()
 
template<typename T >
const T * convertConst () const
 
QDebug debug (QDebug dbg, KDb::ExpressionCallStack *callStack) const
 
virtual void getQueryParameters (QList< KDbQuerySchemaParameter > *params)
 
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

QList< ExplicitlySharedExpressionDataPointerchildren
 
KDb::ExpressionClass expressionClass
 
ExplicitlySharedExpressionDataPointer parent
 
KDbToken token
 

Protected Member Functions

bool addToCallStack (QDebug *dbg, KDb::ExpressionCallStack *callStack) const
 
virtual void debugInternal (QDebug dbg, KDb::ExpressionCallStack *callStack) const
 
virtual KDbEscapedString toStringInternal (const KDbDriver *driver, KDbQuerySchemaParameterValueListIterator *params, KDb::ExpressionCallStack *callStack) const
 
virtual KDbField::Type typeInternal (KDb::ExpressionCallStack *callStack) const
 
virtual bool validateInternal (KDbParseInfo *parseInfo, KDb::ExpressionCallStack *callStack)
 

Detailed Description

Internal data class used to implement implicitly shared class KDbExpression.

Provides thread-safe reference counting.

Definition at line 67 of file KDbExpressionData.h.

Member Function Documentation

◆ debug()

QDebug KDbExpressionData::debug ( QDebug  dbg,
KDb::ExpressionCallStack callStack 
) const

Sends information about this expression to debug output dbg.

Definition at line 238 of file KDbExpression.cpp.

◆ debugInternal()

void KDbExpressionData::debugInternal ( QDebug  dbg,
KDb::ExpressionCallStack callStack 
) const
protectedvirtual

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

Reimplemented in KDbFunctionExpressionData, KDbVariableExpressionData, KDbQueryParameterExpressionData, KDbConstExpressionData, KDbBinaryExpressionData, KDbUnaryExpressionData, and KDbNArgExpressionData.

Definition at line 254 of file KDbExpression.cpp.

◆ type()

KDbField::Type KDbExpressionData::type ( ) const
Returns
type of this expression;

Definition at line 118 of file KDbExpression.cpp.

Member Data Documentation

◆ expressionClass

KDb::ExpressionClass KDbExpressionData::expressionClass
See also
KDbExpression::expressionClass()

Definition at line 87 of file KDbExpressionData.h.

◆ token

KDbToken KDbExpressionData::token
See also
KDbExpression::token()

Definition at line 85 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-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:08:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.