libgdamm: Gnome::Gda::Blob Class Reference
This object is a base class for individual database providers which support BLOB types. More...
Collaboration diagram for Gnome::Gda::Blob:
Public Member Functions | |
Blob (const Blob& other) noexcept | |
Blob& | operator= (const Blob& other) noexcept |
Blob (Blob&& other) noexcept | |
Blob& | operator= (Blob&& other) noexcept |
Blob () | |
Blob (const GdaBlob* gobject) | |
GdaBlob* | gobj () |
Provides access to the underlying C instance. More... | |
const GdaBlob* | gobj () const |
Provides access to the underlying C instance. More... | |
void | set_op (const Glib::RefPtr< BlobOp >& op) |
correctly assigns op to blob More... | |
Glib::ustring | to_string (guint maxlen=0) const |
Converts all the non printable characters of blob->data into the \xxx representation where xxx is the octal representation of the byte, and the '\' (backslash) character is converted to "\\\\". More... | |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Attributes | |
GdaBlob | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Gda::Blob& | wrap (GdaBlob* object) |
const Gnome::Gda::Blob& | wrap (const GdaBlob* object) |
Detailed Description
This object is a base class for individual database providers which support BLOB types.
It supports operations to read and write data in a BLOB.
Constructor & Destructor Documentation
|
noexcept |
|
noexcept |
Gnome::Gda::Blob::Blob | ( | ) |
|
explicit |
Member Function Documentation
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C instance.
|
inline |
Provides access to the underlying C instance.
void Gnome::Gda::Blob::set_op | ( | const Glib::RefPtr< BlobOp >& | op | ) |
correctly assigns op to blob
- Parameters
-
op A Gda::BlobOp object, or 0
.
Glib::ustring Gnome::Gda::Blob::to_string | ( | guint | maxlen = 0 | ) | const |
Converts all the non printable characters of blob->data into the \xxx representation where xxx is the octal representation of the byte, and the '\' (backslash) character is converted to "\\\\".
- Parameters
-
maxlen A maximum len used to truncate, or 0 for no maximum length.
- Returns
- A new string from blob.
Friends And Related Function Documentation
|
related |
- Parameters
-
object The C instance
- Returns
- A C++ instance that wraps this C instance.
|
related |
- Parameters
-
object The C instance
- Returns
- A C++ instance that wraps this C instance.
Member Data Documentation
|
protected |
The documentation for this class was generated from the following file:
- libgdamm/blob.h