Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsDBMi Class Reference

#include <dsDBMi.h>

List of all members.

Public Methods

 dsDBMi (char *database, int flags=O_RDWR, int mode=0644)
 ~dsDBMi ()
void openCursor ()
int fetchNext ()
int fetchKey ()
void closeCursor ()
int add (const char *key, const char *val)
void put (const char *key, const char *val)
int add (const char *key, void *val, int size)
void put (const char *key, void *val, int size)
void del (const char *key)
int get (const char *key)
int get (datum key)
int get ()
int exists (const char *key)
char * operator[] (const char *key)
datum & result ()
char * val ()
char * key ()

Public Attributes

DBM * _conn
datum _res
datum _key
char * _dbName
int _firstkey
char * _str_key
char * _str_val


Detailed Description

shell around ndbm library included in most systems


Constructor & Destructor Documentation

dsDBMi::dsDBMi char *    database,
int    flags = O_RDWR,
int    mode = 0644
 

dsDBMi::~dsDBMi  
 


Member Function Documentation

int dsDBMi::add const char *    key,
void *    val,
int    size
 

int dsDBMi::add const char *    key,
const char *    val
 

void dsDBMi::closeCursor  
 

void dsDBMi::del const char *    key
 

int dsDBMi::exists const char *    key
 

int dsDBMi::fetchKey  
 

int dsDBMi::fetchNext  
 

int dsDBMi::get  
 

int dsDBMi::get datum    key
 

int dsDBMi::get const char *    key
 

char* dsDBMi::key   [inline]
 

void dsDBMi::openCursor  
 

char* dsDBMi::operator[] const char *    key [inline]
 

void dsDBMi::put const char *    key,
void *    val,
int    size
 

void dsDBMi::put const char *    key,
const char *    val
 

datum& dsDBMi::result   [inline]
 

char* dsDBMi::val   [inline]
 


Member Data Documentation

DBM* dsDBMi::_conn
 

char* dsDBMi::_dbName
 

int dsDBMi::_firstkey
 

datum dsDBMi::_key
 

datum dsDBMi::_res
 

char* dsDBMi::_str_key
 

char* dsDBMi::_str_val
 


The documentation for this class was generated from the following files:
Generated on Mon May 16 18:26:59 2005 for libdms4 by doxygen1.3-rc2