kDB: Knowledge DataBase
|
Public Member Functions | |
knowCore::ReturnValue< knowCore::Value > | toValue (const QByteArray &_source, const kDB::Repository::Connection &_connection) const override |
knowCore::ReturnValue< QByteArray > | toByteArray (const knowCore::Value &_source, QString &_oidName, const kDB::Repository::Connection &_connection) const override |
![]() | |
QString | oid () const |
knowCore::Uri | datatype () const |
Modes | modes () const |
Additional Inherited Members | |
![]() | |
enum class | Mode { ToVariant = 0x1 , ToByteArray = 0x2 } |
![]() | |
AbstractBinaryMarshal (const QString &_oid, const knowCore::Uri &_datatype, const Modes &_modes) | |
![]() | |
template<typename _T_ > | |
static knowCore::Uri | datatype () |
|
inlineoverridevirtual |
Convert a knowCore::Value to a postgresql binary representation.
_oidName | is filled with the postgresql OID name |
Reimplemented from kDB::Repository::AbstractBinaryMarshal.
|
inlineoverridevirtual |
Convert from a postgresql binary representation to a knowCore::Value value.
Reimplemented from kDB::Repository::AbstractBinaryMarshal.