digiKam
Digikam::DbEngineActionType Class Reference

Public Member Functions

 DbEngineActionType ()
 
 DbEngineActionType (const DbEngineActionType &actionType)
 
QVariant getActionValue ()
 
bool isValue () const
 
void setActionValue (const QVariant &actionValue)
 
void setValue (bool isValue)
 
 ~DbEngineActionType ()
 

Static Public Member Functions

static DbEngineActionType fieldEntry (const QVariant &actionValue)
 
static DbEngineActionType value (const QVariant &value)
 

Detailed Description

The DbEngineActionType is used by the BdEngineBackend to wrap another data object within an sql statement and controls whether it should be used as field entry or as value (prepared to an sql statement with positional binding).

Constructor & Destructor Documentation

◆ DbEngineActionType() [1/2]

Digikam::DbEngineActionType::DbEngineActionType ( )

◆ DbEngineActionType() [2/2]

Digikam::DbEngineActionType::DbEngineActionType ( const DbEngineActionType actionType)

◆ ~DbEngineActionType()

Digikam::DbEngineActionType::~DbEngineActionType ( )

Member Function Documentation

◆ fieldEntry()

DbEngineActionType Digikam::DbEngineActionType::fieldEntry ( const QVariant &  actionValue)
static

◆ getActionValue()

QVariant Digikam::DbEngineActionType::getActionValue ( )

Returns the wrapped object.

Referenced by Digikam::BdEngineBackend::execQuery().

◆ isValue()

bool Digikam::DbEngineActionType::isValue ( ) const

Returns true, if the entry is an value element. Returns false, if the entry should be used as field entry.

Referenced by Digikam::BdEngineBackend::execQuery(), and setValue().

◆ setActionValue()

void Digikam::DbEngineActionType::setActionValue ( const QVariant &  actionValue)

Sets the wrapped object.

Referenced by fieldEntry(), and value().

◆ setValue()

void Digikam::DbEngineActionType::setValue ( bool  isValue)

Sets the DBAction mode: true, if the entry is an value element. false, if the entry should be used as field entry.

References isValue().

Referenced by fieldEntry(), and value().

◆ value()

DbEngineActionType Digikam::DbEngineActionType::value ( const QVariant &  value)
static

The documentation for this class was generated from the following files: