OpenDBX/C++ API/1.0/Lob

From Linuxnetworks
< OpenDBX‎ | C++ API‎ | 1.0
Revision as of 10:38, 4 March 2009 by Nose (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Public Member Functions

Lob(
   const Lob &ref
) throw ()

Copy constructor.

~Lob() throw ()

Destroy large object instance if no other references exist.

void close () throw ( std::exception )

Closes the large object and commits the changes.

Lob & operator=(
   const Lob &ref
) throw ()

Assigns a large object instance to another one.

ssize_t read(
   void *buffer,
   size_t buflen
) throw ( std::exception )

Reads content from large object into the buffer.

ssize_t write(
   void *buffer,
   size_t buflen
) throw ( std::exception )

Writes data from the buffer into the large object.