boost_sqlite 1
A sqlite C++ library
Loading...
Searching...
No Matches
boost::sqlite::blob_handle Struct Reference

an object that holds a binary large object. Can be obtained by using blob_handle. More...

#include <include/boost/sqlite/blob.hpp>

Public Types

using handle_type = sqlite3_blob*
 The handle of the blob.
 

Public Member Functions

 blob_handle ()=default
 Default constructor.
 
 blob_handle (sqlite3_blob *blob)
 Construct from a handle. Takes owner ship.
 
handle_type handle ()
 Returns the handle of the blob.
 
handle_type release () &&
 Release the owned handle.
 
std::size_t size () const
 The size of the blob.
 
void reopen (sqlite3_int64 row_id, system::error_code &ec)
 Reopen on another row.
 
void reopen (sqlite3_int64 row_id)
 Reopen on another row.
 
void read_at (void *data, int len, int offset, system::error_code &ec)
 Read data from the blob.
 
void read_at (void *data, int len, int offset)
 Read data from the blob.
 
void write_at (const void *data, int len, int offset, system::error_code &ec)
 Write data to the blob.
 
void write_at (const void *data, int len, int offset)
 Write data to the blob.
 

Detailed Description

an object that holds a binary large object. Can be obtained by using blob_handle.

Definition at line 73 of file blob.hpp.


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