kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDB::Repository::krQuery::Interfaces::Action Class Referenceabstract

#include <Action.h>

Inheritance diagram for kDB::Repository::krQuery::Interfaces::Action:

Public Member Functions

virtual knowCore::ReturnValue< knowCore::Valueexecute (const Context &_context, const QString &_key, const knowCore::ValueHash &_parameters)=0
 

Detailed Description

Define an action to be executed by the krQuery engine. If holding a reference to a Connection, it should use a knowCore::WeakReference<Connection>, as the action will be indirectly owned by the connection object. However, this is not strictly needed as the Connection is given during execution in the Context.

Member Function Documentation

◆ execute()

virtual knowCore::ReturnValue< knowCore::Value > kDB::Repository::krQuery::Interfaces::Action::execute ( const Context & _context,
const QString & _key,
const knowCore::ValueHash & _parameters )
pure virtual

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