Blob

Represents some binary data, accessed through a #GdaBlobOp object. @op is generally set up by database providers when giving access to an existing BLOB in a database, but can be modified if needed using gda.blob.Blob.setOp.

Constructors

this
this(gda.blob_op.BlobOp op)

Create a blob.Blob boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

_cPtr
void* _cPtr(Flag!"Dup" dup)
self
Blob self()

Returns this, for use in with statements.

setOp
void setOp(gda.blob_op.BlobOp op)

correctly assigns op to blob

toString_
string toString_(uint maxlen)

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 "\\".

Properties

_gType
GType _gType [@property getter]
data
gda.binary.Binary data [@property getter]

Get data field.

op
gda.blob_op.BlobOp op [@property getter]

Get op field.

op
gda.blob_op.BlobOp op [@property setter]

Set op field.

Static functions

_getGType
GType _getGType()
copy
void* copy(void* boxed)

Creates a new #GdaBlob structure from an existing one.

free
void free(void* boxed)

Deallocates all memory associated to the given #GdaBlob.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

_getGType
GType _getGType()

Get the GType of this boxed type.

_gType
GType _gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.