Public Member Functions | Private Attributes | List of all members
soci::blob Class Reference

#include <blob.h>

Public Member Functions

std::size_t append (char const *buf, std::size_t toWrite)
 
 blob (session &s)
 
details::blob_backendget_backend ()
 
std::size_t get_len ()
 
std::size_t read (std::size_t offset, char *buf, std::size_t toRead)
 
void trim (std::size_t newLen)
 
std::size_t write (std::size_t offset, char const *buf, std::size_t toWrite)
 
 ~blob ()
 

Private Attributes

details::blob_backendbackEnd_
 

Detailed Description

Definition at line 26 of file blob.h.

Constructor & Destructor Documentation

◆ blob()

blob::blob ( session s)
explicit

Definition at line 16 of file core/blob.cpp.

◆ ~blob()

blob::~blob ( )

Definition at line 21 of file core/blob.cpp.

Member Function Documentation

◆ append()

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

Definition at line 42 of file core/blob.cpp.

◆ get_backend()

details::blob_backend* soci::blob::get_backend ( )
inline

Definition at line 39 of file blob.h.

◆ get_len()

std::size_t blob::get_len ( )

Definition at line 26 of file core/blob.cpp.

◆ read()

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

Definition at line 31 of file core/blob.cpp.

◆ trim()

void blob::trim ( std::size_t  newLen)

Definition at line 47 of file core/blob.cpp.

◆ write()

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

Definition at line 36 of file core/blob.cpp.

Member Data Documentation

◆ backEnd_

details::blob_backend* soci::blob::backEnd_
private

Definition at line 42 of file blob.h.


The documentation for this class 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 Mon Feb 28 2022 21:48:45