Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

memdb.h File Reference

#include "db/db.h"
#include "memdb/memdbacc.h"
#include "base/vector.h"
#include "base/list.h"
#include "base/map.h"
#include "base/common.h"

Go to the source code of this file.

Classes

class  terimber_index_column_info_ex
 types for internal data structure More...
class  terimber_db_value_vector_impl
 abstract class to set conditions for lookup More...
class  memdb_row
 db row More...
class  memdb_rowset_less
 predicate for row comparision More...
class  memtable
 interface to memory table More...
class  memindex
 implementation of terimber_memindex interface More...
class  memlookup
 implementation of terimber_memlookup interface More...

Typedefs

typedef list< memdb_rowmemdb_rowset_t
 list of db rows
typedef memdb_rowset_t::iterator memdb_rowset_iterator_t
 iterator of memdb_rowset_t
typedef
memdb_rowset_t::const_iterator 
memdb_rowset_citerator_t
 const iterator of memdb_rowset_t
typedef vector
< terimber_index_column_info_ex
terimber_index_column_array_t
 vector of index cloumn information
typedef map
< memdb_rowset_citerator_t,
memdb_rowset_citerator_t,
memdb_rowset_less, true > 
memdb_index_t
 maps rowset iterator to the correct position
typedef
memdb_index_t::const_iterator 
memdb_index_citer_t
 const iterator of memdb_index_t

Functions

static int compare_db_value (dbtypes type, const terimber_db_value &first, const terimber_db_value second, bool case_insensitive)
 compare two db values with the same type


Typedef Documentation

const iterator of memdb_index_t

Definition at line 456 of file memdb.h.

maps rowset iterator to the correct position

Definition at line 453 of file memdb.h.

const iterator of memdb_rowset_t

Definition at line 409 of file memdb.h.

iterator of memdb_rowset_t

Definition at line 406 of file memdb.h.

list of db rows

Definition at line 403 of file memdb.h.

vector of index cloumn information

Definition at line 412 of file memdb.h.


Function Documentation

static int compare_db_value ( dbtypes  type,
const terimber_db_value first,
const terimber_db_value  second,
bool  case_insensitive 
) [inline, static]

compare two db values with the same type

Parameters:
type  db type
first  first value
second  second value
case_insensitive  case insesitive flag

Referenced by memdb_rowset_less::operator()().



© Copyright Terimber 2003-.