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

#include <soci-postgresql.h>

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

Public Member Functions

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

Public Attributes

int fd_
 
unsigned long oid_
 
postgresql_session_backendsession_
 

Detailed Description

Definition at line 287 of file soci-postgresql.h.

Constructor & Destructor Documentation

postgresql_blob_backend::postgresql_blob_backend ( postgresql_session_backend session)

Definition at line 31 of file backends/postgresql/blob.cpp.

postgresql_blob_backend::~postgresql_blob_backend ( )

Definition at line 39 of file backends/postgresql/blob.cpp.

Member Function Documentation

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

Implements soci::details::blob_backend.

Definition at line 94 of file backends/postgresql/blob.cpp.

std::size_t postgresql_blob_backend::get_len ( )
virtual

Implements soci::details::blob_backend.

Definition at line 44 of file backends/postgresql/blob.cpp.

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

Implements soci::details::blob_backend.

Definition at line 55 of file backends/postgresql/blob.cpp.

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

Implements soci::details::blob_backend.

Definition at line 113 of file backends/postgresql/blob.cpp.

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

Implements soci::details::blob_backend.

Definition at line 74 of file backends/postgresql/blob.cpp.

Member Data Documentation

int soci::postgresql_blob_backend::fd_

Definition at line 304 of file soci-postgresql.h.

unsigned long soci::postgresql_blob_backend::oid_

Definition at line 303 of file soci-postgresql.h.

postgresql_session_backend& soci::postgresql_blob_backend::session_

Definition at line 301 of file soci-postgresql.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