kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDBGIS::SQLRasterMarshal Class Reference
Inheritance diagram for kDBGIS::SQLRasterMarshal:
Collaboration diagram for kDBGIS::SQLRasterMarshal:

Public Member Functions

knowCore::ReturnValue< QByteArray > toByteArray (const knowCore::Value &_source, QString &_oidName, const kDB::Repository::Connection &_connection) const override
 
knowCore::ReturnValue< knowCore::ValuetoValue (const QByteArray &_source, const kDB::Repository::Connection &_connection) const override
 
- Public Member Functions inherited from kDB::Repository::AbstractBinaryMarshal
QString oid () const
 
knowCore::Uri datatype () const
 
Modes modes () const
 

Additional Inherited Members

- Public Types inherited from kDB::Repository::AbstractBinaryMarshal
enum class  Mode { ToVariant = 0x1 , ToByteArray = 0x2 }
 
- Protected Member Functions inherited from kDB::Repository::AbstractBinaryMarshal
 AbstractBinaryMarshal (const QString &_oid, const knowCore::Uri &_datatype, const Modes &_modes)
 
- Static Protected Member Functions inherited from kDB::Repository::AbstractBinaryMarshal
template<typename _T_ >
static knowCore::Uri datatype ()
 

Member Function Documentation

◆ toByteArray()

knowCore::ReturnValue< QByteArray > kDBGIS::SQLRasterMarshal::toByteArray ( const knowCore::Value & _source,
QString & _oidName,
const kDB::Repository::Connection & _connection ) const
inlineoverridevirtual

Convert a knowCore::Value to a postgresql binary representation.

Parameters
_oidNameis filled with the postgresql OID name

Reimplemented from kDB::Repository::AbstractBinaryMarshal.

◆ toValue()

knowCore::ReturnValue< knowCore::Value > kDBGIS::SQLRasterMarshal::toValue ( const QByteArray & _source,
const kDB::Repository::Connection & _connection ) const
inlineoverridevirtual

Convert from a postgresql binary representation to a knowCore::Value value.

Reimplemented from kDB::Repository::AbstractBinaryMarshal.


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