KDbQueryParameterExpressionData

Search for usage in LXR

KDbQueryParameterExpressionData Class Reference

#include <KDbExpressionData.h>

Inheritance diagram for KDbQueryParameterExpressionData:

Public Member Functions

 KDbQueryParameterExpressionData (KDbField::Type type, const QVariant &value)
 
KDbQueryParameterExpressionDataclone () override
 
void getQueryParameters (QList< KDbQuerySchemaParameter > *params) override
 
- Public Member Functions inherited from KDbConstExpressionData
 KDbConstExpressionData (const QVariant &aValue=QVariant())
 
- 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

KDbField::Type m_type
 
- Public Attributes inherited from KDbConstExpressionData
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 KDbConstExpressionData
- 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 KDbQueryParameterExpression.

Provides thread-safe reference counting.

Definition at line 242 of file KDbExpressionData.h.

Constructor & Destructor Documentation

◆ KDbQueryParameterExpressionData() [1/2]

KDbQueryParameterExpressionData::KDbQueryParameterExpressionData ( )

Definition at line 31 of file KDbQueryParameterExpression.cpp.

◆ KDbQueryParameterExpressionData() [2/2]

KDbQueryParameterExpressionData::KDbQueryParameterExpressionData ( KDbField::Type type,
const QVariant & value )

Definition at line 38 of file KDbQueryParameterExpression.cpp.

◆ ~KDbQueryParameterExpressionData()

KDbQueryParameterExpressionData::~KDbQueryParameterExpressionData ( )
override

Definition at line 46 of file KDbQueryParameterExpression.cpp.

Member Function Documentation

◆ clone()

KDbQueryParameterExpressionData * KDbQueryParameterExpressionData::clone ( )
overridevirtual

Reimplemented from KDbConstExpressionData.

Definition at line 51 of file KDbQueryParameterExpression.cpp.

◆ debugInternal()

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

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

Reimplemented from KDbConstExpressionData.

Definition at line 57 of file KDbQueryParameterExpression.cpp.

◆ getQueryParameters()

void KDbQueryParameterExpressionData::getQueryParameters ( QList< KDbQuerySchemaParameter > * params)
overridevirtual

Reimplemented from KDbConstExpressionData.

Definition at line 78 of file KDbQueryParameterExpression.cpp.

◆ toStringInternal()

KDbEscapedString KDbQueryParameterExpressionData::toStringInternal ( const KDbDriver * driver,
KDbQuerySchemaParameterValueListIterator * params,
KDb::ExpressionCallStack * callStack ) const
overrideprotectedvirtual

Reimplemented from KDbConstExpressionData.

Definition at line 64 of file KDbQueryParameterExpression.cpp.

◆ typeInternal()

KDbField::Type KDbQueryParameterExpressionData::typeInternal ( KDb::ExpressionCallStack * callStack) const
overrideprotectedvirtual

Reimplemented from KDbConstExpressionData.

Definition at line 93 of file KDbQueryParameterExpression.cpp.

◆ validateInternal()

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

Reimplemented from KDbConstExpressionData.

Definition at line 87 of file KDbQueryParameterExpression.cpp.

Member Data Documentation

◆ m_type

KDbField::Type KDbQueryParameterExpressionData::m_type

Definition at line 249 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 Mon Nov 4 2024 16:38:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.