Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
soci::firebird_blob_backend Struct Reference

#include <soci-firebird.h>

Inheritance diagram for soci::firebird_blob_backend:
Inheritance graph
[legend]

Public Member Functions

virtual std::size_t append (char const *buf, std::size_t toWrite)
 
virtual void assign (ISC_QUAD const &bid)
 
 firebird_blob_backend (firebird_session_backend &session)
 
virtual std::size_t get_len ()
 
virtual std::size_t read (std::size_t offset, char *buf, std::size_t toRead)
 
virtual void save ()
 
virtual void trim (std::size_t newLen)
 
virtual std::size_t write (std::size_t offset, char const *buf, std::size_t toWrite)
 
 ~firebird_blob_backend ()
 
- Public Member Functions inherited from soci::details::blob_backend
 blob_backend ()
 
virtual ~blob_backend ()
 

Public Attributes

isc_blob_handle bhp_
 
ISC_QUAD bid_
 
bool from_db_
 
firebird_session_backendsession_
 

Protected Member Functions

virtual void cleanUp ()
 
virtual long getBLOBInfo ()
 
virtual void load ()
 
virtual void open ()
 
virtual void writeBuffer (std::size_t offset, char const *buf, std::size_t toWrite)
 

Protected Attributes

std::vector< char > data_
 
bool loaded_
 
long max_seg_size_
 

Detailed Description

Definition at line 247 of file soci-firebird.h.

Constructor & Destructor Documentation

firebird_blob_backend::firebird_blob_backend ( firebird_session_backend session)

Definition at line 15 of file backends/firebird/blob.cpp.

firebird_blob_backend::~firebird_blob_backend ( )

Definition at line 20 of file backends/firebird/blob.cpp.

Member Function Documentation

std::size_t firebird_blob_backend::append ( char const *  buf,
std::size_t  toWrite 
)
virtual

Implements soci::details::blob_backend.

Definition at line 92 of file backends/firebird/blob.cpp.

virtual void soci::firebird_blob_backend::assign ( ISC_QUAD const &  bid)
inlinevirtual

Definition at line 264 of file soci-firebird.h.

void firebird_blob_backend::cleanUp ( )
protectedvirtual

Definition at line 155 of file backends/firebird/blob.cpp.

std::size_t firebird_blob_backend::get_len ( )
virtual

Implements soci::details::blob_backend.

Definition at line 25 of file backends/firebird/blob.cpp.

long firebird_blob_backend::getBLOBInfo ( )
protectedvirtual

Definition at line 263 of file backends/firebird/blob.cpp.

void firebird_blob_backend::load ( )
protectedvirtual

Definition at line 175 of file backends/firebird/blob.cpp.

void firebird_blob_backend::open ( )
protectedvirtual

Definition at line 132 of file backends/firebird/blob.cpp.

std::size_t firebird_blob_backend::read ( std::size_t  offset,
char *  buf,
std::size_t  toRead 
)
virtual

Implements soci::details::blob_backend.

Definition at line 35 of file backends/firebird/blob.cpp.

void firebird_blob_backend::save ( )
virtual

Definition at line 227 of file backends/firebird/blob.cpp.

void firebird_blob_backend::trim ( std::size_t  newLen)
virtual

Implements soci::details::blob_backend.

Definition at line 109 of file backends/firebird/blob.cpp.

std::size_t firebird_blob_backend::write ( std::size_t  offset,
char const *  buf,
std::size_t  toWrite 
)
virtual

Implements soci::details::blob_backend.

Definition at line 65 of file backends/firebird/blob.cpp.

void firebird_blob_backend::writeBuffer ( std::size_t  offset,
char const *  buf,
std::size_t  toWrite 
)
protectedvirtual

Definition at line 120 of file backends/firebird/blob.cpp.

Member Data Documentation

isc_blob_handle soci::firebird_blob_backend::bhp_

Definition at line 280 of file soci-firebird.h.

ISC_QUAD soci::firebird_blob_backend::bid_

Definition at line 273 of file soci-firebird.h.

std::vector<char> soci::firebird_blob_backend::data_
protected

Definition at line 292 of file soci-firebird.h.

bool soci::firebird_blob_backend::from_db_

Definition at line 277 of file soci-firebird.h.

bool soci::firebird_blob_backend::loaded_
protected

Definition at line 294 of file soci-firebird.h.

long soci::firebird_blob_backend::max_seg_size_
protected

Definition at line 295 of file soci-firebird.h.

firebird_session_backend& soci::firebird_blob_backend::session_

Definition at line 261 of file soci-firebird.h.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41