KDbUnaryExpressionData

Search for usage in LXR

KDbUnaryExpressionData Class Reference

#include <KDbExpressionData.h>

Inheritance diagram for KDbUnaryExpressionData:

Public Member Functions

ExplicitlySharedExpressionDataPointer arg () const
 
KDbUnaryExpressionDataclone () 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 &)
 

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
 

Additional Inherited Members

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

Detailed Description

Internal data class used to implement implicitly shared class KDbUnaryExpression.

Provides thread-safe reference counting.

Definition at line 161 of file KDbExpressionData.h.

Constructor & Destructor Documentation

◆ KDbUnaryExpressionData()

KDbUnaryExpressionData::KDbUnaryExpressionData ( )

Definition at line 30 of file KDbUnaryExpression.cpp.

◆ ~KDbUnaryExpressionData()

KDbUnaryExpressionData::~KDbUnaryExpressionData ( )
override

Definition at line 36 of file KDbUnaryExpression.cpp.

Member Function Documentation

◆ arg()

ExplicitlySharedExpressionDataPointer KDbUnaryExpressionData::arg ( ) const
inline

Definition at line 169 of file KDbExpressionData.h.

◆ clone()

KDbUnaryExpressionData * KDbUnaryExpressionData::clone ( )
overridevirtual

Reimplemented from KDbExpressionData.

Definition at line 41 of file KDbUnaryExpression.cpp.

◆ debugInternal()

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

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

Reimplemented from KDbExpressionData.

Definition at line 47 of file KDbUnaryExpression.cpp.

◆ getQueryParameters()

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

Reimplemented from KDbExpressionData.

Definition at line 92 of file KDbUnaryExpression.cpp.

◆ toStringInternal()

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

Reimplemented from KDbExpressionData.

Definition at line 67 of file KDbUnaryExpression.cpp.

◆ typeInternal()

KDbField::Type KDbUnaryExpressionData::typeInternal ( KDb::ExpressionCallStack * callStack) const
overrideprotectedvirtual
Todo
queryParameterExpressionData->m_type still is Text but can be any type

Reimplemented from KDbExpressionData.

Definition at line 100 of file KDbUnaryExpression.cpp.

◆ validateInternal()

bool KDbUnaryExpressionData::validateInternal ( KDbParseInfo * parseInfo,
KDb::ExpressionCallStack * callStack )
overrideprotectedvirtual
Todo
compare types... e.g. NOT applied to Text makes no sense...
Todo
IMPORTANT: update type

Reimplemented from KDbExpressionData.

Definition at line 142 of file KDbUnaryExpression.cpp.


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 Oct 4 2024 11:54:31 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.