Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
mdb.h File Reference
#include "nscore.h"
#include "nsISupports.h"

Go to the source code of this file.

Classes

struct  mdbScopeStringSet
struct  mdbOpenPolicy
struct  mdbTokenSet
struct  mdbUsagePolicy
struct  mdbOid
struct  mdbRange
struct  mdbColumnSet
struct  mdbYarn
class  nsIMdbObject
class  nsIMdbErrorHook
class  nsIMdbCompare
class  nsIMdbHeap
class  nsIMdbCPlusHeap
class  nsIMdbThumb
class  nsIMdbEnv
class  nsIMdbFactory
class  nsIMdbFile
class  nsIMdbPort
class  nsIMdbStore
class  nsIMdbCursor
class  nsIMdbPortTableCursor
class  nsIMdbCollection
class  nsIMdbTable
class  nsIMdbSorting
class  nsIMdbTableRowCursor
class  nsIMdbRow
class  nsIMdbRowCellCursor
class  nsIMdbBlob
class  nsIMdbCell

Defines

#define mdbBool_kTrue   ((mdb_bool) 1) /* actually any nonzero means true */
#define mdbBool_kFalse   ((mdb_bool) 0) /* only zero means false */
#define mdbId_kNone   ((mdb_id) -1) /* never a valid Mork object ID */
#define mdbPos_kBeforeFirst   ((mdb_pos) -1) /* any negative is before zero */
#define mdbScopeStringSet_typedef   1
#define mdbScopeStringSet_struct   1
#define mdbOpenPolicy_typedef   1
#define mdbOpenPolicy_struct   1
#define mdbTokenSet_typedef   1
#define mdbTokenSet_struct   1
#define mdbUsagePolicy_typedef   1
#define mdbUsagePolicy_struct   1
#define mdbOid_typedef   1
#define mdbOid_struct   1
#define mdbRange_typedef   1
#define mdbRange_struct   1
#define mdbColumnSet_typedef   1
#define mdbColumnSet_struct   1
#define mdbYarn_typedef   1
#define mdbYarn_struct   1
#define NS_IMDBOBJECT_IID_STR   "5533ea4b-14c3-4bef-ac60-22f9e9a49084"
#define NS_IMDBOBJECT_IID
#define NS_IMDBTHUMB_IID_STR   "6d3ad7c1-a809-4e74-8577-49fa9a4562fa"
#define NS_IMDBTHUMB_IID
#define NS_IMDBENV_IID_STR   "a765e46b-efb6-41e6-b75b-c5d6bd710594"
#define NS_IMDBENV_IID
#define NS_IMDBFACTORY_IID_STR   "2b80395c-b91e-4990-b1a7-023e99ab14e9"
#define NS_IMDBFACTORY_IID
#define NS_IMDBFILE_IID_STR   "f04aa4ab-1fe7-4115-a4a5-6819dff1103d"
#define NS_IMDBFILE_IID
#define NS_IMDBSTORE_IID_STR   "726618d3-f15b-49b9-9f4a-efcc9db53d0d"
#define NS_IMDBSTORE_IID
#define NS_IMDBCURSOR_IID_STR   "a0c37337-6ebc-474c-90db-e65ea0b850aa"
#define NS_IMDBCURSOR_IID
#define NS_IMDBPORTTABLECURSOR_IID_STR   = "f181a41e-933d-49b3-af93-20d3634b8b78"
#define NS_IMDBPORTTABLECURSOR_IID
#define NS_IMDBTABLE_IID_STR   = "fe11bc98-d02b-4128-9fac-87042fdf9639"
#define NS_IMDBTABLE_IID
#define NS_IMDBTABLEROWCURSOR_IID_STR   = "4f325dad-0385-4b62-a992-c914ab93587e"
#define NS_IMDBTABLEROWCURSOR_IID
#define NS_IMDBROW_IID_STR   "271e8d6e-183a-40e3-9f18-36913b4c7853"
#define NS_IMDBROW_IID
#define NS_IMDBROWCELLCURSOR_IID_STR   "b33371a7-5d63-4d10-85a8-e44dffe75c28"
#define NS_IMDBROWCELLCURSOR_IID
#define NS_IMDBCELL_IID
#define NS_IMDBCELL_IID_STR   = "a3b62f71-a181-4a91-b66b-27109b889835"

Typedefs

typedef unsigned char mdb_u1
typedef unsigned short mdb_u2
typedef short mdb_i2
typedef PRUint32 mdb_u4
typedef PRInt32 mdb_i4
typedef PRWord mdb_ip
typedef mdb_u1 mdb_bool
typedef mdb_u4 mdb_id
typedef mdb_id mdb_rid
typedef mdb_id mdb_tid
typedef mdb_u4 mdb_token
typedef mdb_token mdb_scope
typedef mdb_token mdb_kind
typedef mdb_token mdb_column
typedef mdb_token mdb_cscode
typedef mdb_u4 mdb_seed
typedef mdb_u4 mdb_count
typedef mdb_u4 mdb_size
typedef mdb_u4 mdb_fill
typedef mdb_u4 mdb_more
typedef mdb_u4 mdb_percent
typedef mdb_u1 mdb_priority
typedef nsresult mdb_err
typedef mdb_i4 mdb_pos
typedef mdb_i4 mdb_order
typedef mdb_order(* mdbAny_Order )(const void *inA, const void *inB, const void *inClosure)
typedef struct mdbScopeStringSet
typedef struct mdbOpenPolicy
typedef struct mdbTokenSet
typedef struct mdbUsagePolicy
typedef struct mdbOid
typedef struct mdbRange
typedef struct mdbColumnSet
typedef struct mdbYarn
typedef void(* mdbYarn_mGrow )(mdbYarn *self, mdb_size inNewSize)

Functions

nsIMdbFactoryMakeMdbFactory ()

Class Documentation

struct mdbScopeStringSet

Definition at line 119 of file mdb.h.

Class Members
mdb_count mScopeStringSet_Count
const char ** mScopeStringSet_Strings
struct mdbOpenPolicy

Definition at line 133 of file mdb.h.

Class Members
mdb_bool mOpenPolicy_MaxLazy
mdb_bool mOpenPolicy_MinMemory
mdbScopeStringSet mOpenPolicy_ScopePlan
struct mdbTokenSet

Definition at line 147 of file mdb.h.

Class Members
mdb_count mTokenSet_Count
mdb_fill mTokenSet_Fill
mdb_more mTokenSet_More
mdb_token * mTokenSet_Tokens
struct mdbUsagePolicy

Definition at line 167 of file mdb.h.

Class Members
mdb_bool mUsagePolicy_MaxLazy
mdb_bool mUsagePolicy_MinMemory
mdbTokenSet mUsagePolicy_ScopePlan
struct mdbOid

Definition at line 181 of file mdb.h.

Class Members
mdb_id mOid_Id
mdb_scope mOid_Scope
struct mdbRange

Definition at line 194 of file mdb.h.

Class Members
mdb_pos mRange_FirstPos
mdb_pos mRange_LastPos
struct mdbColumnSet

Definition at line 207 of file mdb.h.

Class Members
mdb_column * mColumnSet_Columns
mdb_count mColumnSet_Count
struct mdbYarn

Definition at line 314 of file mdb.h.

Collaboration diagram for mdbYarn:
Class Members
void * mYarn_Buf
mdb_fill mYarn_Fill
mdb_cscode mYarn_Form
mdbYarn_mGrow mYarn_Grow
mdb_more mYarn_More
mdb_size mYarn_Size

Define Documentation

#define mdbBool_kFalse   ((mdb_bool) 0) /* only zero means false */

Definition at line 58 of file mdb.h.

#define mdbBool_kTrue   ((mdb_bool) 1) /* actually any nonzero means true */

Definition at line 57 of file mdb.h.

Definition at line 206 of file mdb.h.

Definition at line 202 of file mdb.h.

#define mdbId_kNone   ((mdb_id) -1) /* never a valid Mork object ID */

Definition at line 74 of file mdb.h.

Definition at line 180 of file mdb.h.

Definition at line 176 of file mdb.h.

Definition at line 132 of file mdb.h.

Definition at line 128 of file mdb.h.

#define mdbPos_kBeforeFirst   ((mdb_pos) -1) /* any negative is before zero */

Definition at line 86 of file mdb.h.

Definition at line 193 of file mdb.h.

Definition at line 189 of file mdb.h.

Definition at line 118 of file mdb.h.

Definition at line 100 of file mdb.h.

Definition at line 146 of file mdb.h.

Definition at line 142 of file mdb.h.

Definition at line 166 of file mdb.h.

Definition at line 157 of file mdb.h.

Definition at line 313 of file mdb.h.

Definition at line 215 of file mdb.h.

Value:
{0xa3b62f71, 0xa181, 0x4a91, \
{0xb6, 0x6b, 0x27, 0x10, 0x9b, 0x88, 0x98, 0x35}}

Definition at line 2473 of file mdb.h.

#define NS_IMDBCELL_IID_STR   = "a3b62f71-a181-4a91-b66b-27109b889835"

Definition at line 2477 of file mdb.h.

Value:
{0xa0c37337, 0x6ebc, 0x474c, \
{0x90, 0xdb, 0xe6, 0x5e, 0xa0, 0xb8, 0x50, 0xaa}}

Definition at line 1453 of file mdb.h.

#define NS_IMDBCURSOR_IID_STR   "a0c37337-6ebc-474c-90db-e65ea0b850aa"

Definition at line 1451 of file mdb.h.

Value:
{0xa765e46b, 0xefb6, 0x41e6, \
{ 0xb7, 0x5b, 0xc5, 0xd6, 0xbd, 0x71, 0x05, 0x94}}

Definition at line 573 of file mdb.h.

#define NS_IMDBENV_IID_STR   "a765e46b-efb6-41e6-b75b-c5d6bd710594"

Definition at line 571 of file mdb.h.

Value:
{0xf04aa4ab, 0x1fe, 0x4115, \
{ 0xa4, 0xa5, 0x68, 0x19, 0xdf, 0xf1, 0x10, 0x3d}}

Definition at line 662 of file mdb.h.

#define NS_IMDBFACTORY_IID_STR   "2b80395c-b91e-4990-b1a7-023e99ab14e9"

Definition at line 660 of file mdb.h.

Value:
{0xf04aa4ab, 0x1fe, 0x4115, \
{ 0xa4, 0xa5, 0x68, 0x19, 0xdf, 0xf1, 0x10, 0x3d}}

Definition at line 825 of file mdb.h.

#define NS_IMDBFILE_IID_STR   "f04aa4ab-1fe7-4115-a4a5-6819dff1103d"

Definition at line 823 of file mdb.h.

Value:
{0x5533ea4b, 0x14c3, 0x4bef, \
{ 0xac, 0x60, 0x22, 0xf9, 0xe9, 0xa4, 0x90, 0x84}}

Definition at line 370 of file mdb.h.

#define NS_IMDBOBJECT_IID_STR   "5533ea4b-14c3-4bef-ac60-22f9e9a49084"

Definition at line 368 of file mdb.h.

Value:
{0xf181a41e, 0x933d, 0x49b3, \
{0xaf, 0x93, 0x20, 0xd3, 0x63, 0x4b, 0x8b, 0x78}}

Definition at line 1479 of file mdb.h.

#define NS_IMDBPORTTABLECURSOR_IID_STR   = "f181a41e-933d-49b3-af93-20d3634b8b78"

Definition at line 1477 of file mdb.h.

Value:
{0x271e8d6e, 0x183a, 0x40e3, \
{0x9f, 0x18, 0x36, 0x91, 0x3b, 0x4c, 0x78, 0x53}}

Definition at line 2199 of file mdb.h.

#define NS_IMDBROW_IID_STR   "271e8d6e-183a-40e3-9f18-36913b4c7853"

Definition at line 2196 of file mdb.h.

Value:
{0x271e8d6e, 0x5d63, 0x4d10 , \
{0x85, 0xa8, 0xe4, 0x4d, 0xff, 0xe7, 0x5c, 0x28}}

Definition at line 2319 of file mdb.h.

#define NS_IMDBROWCELLCURSOR_IID_STR   "b33371a7-5d63-4d10-85a8-e44dffe75c28"

Definition at line 2316 of file mdb.h.

Value:
{0x726618d3, 0xf15b, 0x49b9, \
{0x9f, 0x4a, 0xef, 0xcc, 0x9d, 0xb5, 0x3d, 0x0d}}

Definition at line 1306 of file mdb.h.

#define NS_IMDBSTORE_IID_STR   "726618d3-f15b-49b9-9f4a-efcc9db53d0d"

Definition at line 1304 of file mdb.h.

Value:
{0xfe11bc98, 0xd02b, 0x4128, \
{0x9f, 0xac, 0x87, 0x04, 0x2f, 0xdf, 0x96, 0x39}}

Definition at line 1714 of file mdb.h.

#define NS_IMDBTABLE_IID_STR   = "fe11bc98-d02b-4128-9fac-87042fdf9639"

Definition at line 1712 of file mdb.h.

Value:
{0x4f325dad, 0x0385, 0x4b62, \
{0xa9, 0x92, 0xc9, 0x14, 0xab, 0x93, 0x58, 0x7e}}

Definition at line 2099 of file mdb.h.

#define NS_IMDBTABLEROWCURSOR_IID_STR   = "4f325dad-0385-4b62-a992-c914ab93587e"

Definition at line 2097 of file mdb.h.

Value:
{0x6d3ad7c1, 0xa809, 0x4e74, \
{ 0x85, 0x77, 0x49, 0xfa, 0x9a, 0x45, 0x62, 0xfa}}

Definition at line 512 of file mdb.h.

#define NS_IMDBTHUMB_IID_STR   "6d3ad7c1-a809-4e74-8577-49fa9a4562fa"

Definition at line 510 of file mdb.h.


Typedef Documentation

typedef mdb_u1 mdb_bool

Definition at line 54 of file mdb.h.

Definition at line 66 of file mdb.h.

typedef mdb_u4 mdb_count

Definition at line 69 of file mdb.h.

Definition at line 67 of file mdb.h.

typedef nsresult mdb_err

Definition at line 81 of file mdb.h.

typedef mdb_u4 mdb_fill

Definition at line 71 of file mdb.h.

typedef short mdb_i2

Definition at line 49 of file mdb.h.

typedef PRInt32 mdb_i4

Definition at line 51 of file mdb.h.

typedef mdb_u4 mdb_id

Definition at line 60 of file mdb.h.

typedef PRWord mdb_ip

Definition at line 52 of file mdb.h.

Definition at line 65 of file mdb.h.

typedef mdb_u4 mdb_more

Definition at line 72 of file mdb.h.

typedef mdb_i4 mdb_order

Definition at line 89 of file mdb.h.

Definition at line 76 of file mdb.h.

typedef mdb_i4 mdb_pos

Definition at line 84 of file mdb.h.

Definition at line 78 of file mdb.h.

typedef mdb_id mdb_rid

Definition at line 61 of file mdb.h.

Definition at line 64 of file mdb.h.

typedef mdb_u4 mdb_seed

Definition at line 68 of file mdb.h.

typedef mdb_u4 mdb_size

Definition at line 70 of file mdb.h.

typedef mdb_id mdb_tid

Definition at line 62 of file mdb.h.

typedef mdb_u4 mdb_token

Definition at line 63 of file mdb.h.

typedef unsigned char mdb_u1

Definition at line 47 of file mdb.h.

typedef unsigned short mdb_u2

Definition at line 48 of file mdb.h.

typedef PRUint32 mdb_u4

Definition at line 50 of file mdb.h.

typedef mdb_order(* mdbAny_Order)(const void *inA, const void *inB, const void *inClosure)

Definition at line 91 of file mdb.h.

typedef struct mdbColumnSet

Definition at line 201 of file mdb.h.

typedef struct mdbOid

Definition at line 175 of file mdb.h.

typedef struct mdbOpenPolicy

Definition at line 127 of file mdb.h.

typedef struct mdbRange

Definition at line 188 of file mdb.h.

typedef struct mdbScopeStringSet

Definition at line 99 of file mdb.h.

typedef struct mdbTokenSet

Definition at line 141 of file mdb.h.

typedef struct mdbUsagePolicy

Definition at line 156 of file mdb.h.

typedef struct mdbYarn

Definition at line 214 of file mdb.h.

typedef void(* mdbYarn_mGrow)(mdbYarn *self, mdb_size inNewSize)

Definition at line 251 of file mdb.h.


Function Documentation

Definition at line 148 of file morkFactory.cpp.

{
  return new morkFactory(new orkinHeap());
}

Here is the call graph for this function:

Here is the caller graph for this function: