Logo Search packages:      
Sourcecode: qdbm version File versions  Download package

Datum Villa::fetchrec ( const Datum key  )  throw (Villa_error) [virtual]

Fetch a record.

key reference to a key object.
a temporary instance of the value of the corresponding record.
Villa_error if an error occurs or no record corresponds.

Implements qdbm::ADBM.

Definition at line 535 of file xvilla.cc.

  char* vbuf;
  int vsiz;
  vbuf = get(key.ptr(), key.size(), &vsiz);
  return Datum(vbuf, vsiz, true);

Generated by  Doxygen 1.6.0   Back to index