+I!Berkeley DB: DbEnv[P

DbEnv





#include <db_cxx.h>

KDbEnv::DbEnv(const char *db_home, char *const *db_config, u_int32_t flags);DbEnv::DbEnv();DbEnv::~DbEnv();





Description



CThis manual page describes the specific details of the DbEnv class.<The DbEnv class provides simple access to an underlying data>structure, whose elements can be examined or changed using the#set_ or get_ methods.GThe manual pages sometimes refer to these accesses using the underlyingAname, e.g., simply lorder instead of get_lorder andset_lorder.

FThe constructors set all elements of the underlying structure to zero.>The constructor with three arguments has the effect of callinglDbEnv::appinit immediately to initialize the application withdefault parameters.9To delay the initialization, use the default constructor.BThe various set_ methods can then be used to initialize thejDbEnv, and finally, a call to DbEnv::appinit should be madeto initialize Berkeley DB.

BOnce the Berkeley DB environment has been initialized by a call toWDbEnv::appinit no set methods other thanUDbEnv::set_errpfx should be called.



Class

DbEnv



See Also

>DbEnv::appinit,>DbEnv::appexit,>DbEnv::version,FDbEnv::get_lg_info,FDbEnv::get_lk_info,FDbEnv::get_mp_info,FDbEnv::get_tx_info,dbenv_set_data_dir,FDbEnv::set_errcall,FDbEnv::set_errfile,NDbEnv::set_error_model,PDbEnv::set_error_stream,DDbEnv::set_errpfx,DDbEnv::set_lg_max,PDbEnv::set_lk_conflicts,JDbEnv::set_lk_detect,HDbEnv::set_lk_modes,DDbEnv::set_lorder,NDbEnv::set_mp_mmapsize,FDbEnv::set_mp_size,DDbEnv::set_tx_max,KDbEnv::set_tx_recoverandFDbEnv::set_verbose.
ÿÿ