Lines Matching refs:DbstlDbt
393 an DbstlDbt object A(use malloc to allocate the required number of bytes for
395 fields as necessary) and store A into a container, e.g. db_vector<DbstlDbt>,
397 The DbstlDbt class can help you avoid memory leaks,
398 so it is strongly recommended that you use DbstlDbt rather than Dbt class.
400 DbstlDbt derives from Dbt class, and it does an deep copy on copy construction
405 malloc to allocate memory in order to use DbstlDbt.
407 DbstlDbt simply inherits all methods from Dbt with no extra
411 In practice you rarely need to use DbstlDbt
414 e.g. a bitmap, do you need to use DbstlDbt.
416 Hence, DbstlDbt is the right class to
419 Don't free the memory referenced by DbstlDbt objects, it will be freed when the
420 DbstlDbt object is destructed.
422 Please refer to the two examples using DbstlDbt in
425 which illustrate how to correctly use DbstlDbt in order to store raw bytes.
433 class DbstlDbt : public Dbt
435 inline void deep_copy(const DbstlDbt &d)
452 DbstlDbt(void *data1, u_int32_t size1) : Dbt(data1, size1){}
453 DbstlDbt() : Dbt(){}
455 ~DbstlDbt()
461 DbstlDbt(const DbstlDbt &d) : Dbt(d)
467 inline const DbstlDbt &operator = (const DbstlDbt &d)