00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _COLLECTION_PEER_H
00026 #define _COLLECTION_PEER_H
00027
00028 namespace eyedb {
00029
00030 struct CollectionPeer {
00031
00032 static int coherent, added, removed;
00033 static CollSet *collSet(const char *, const CollImpl *);
00034 static CollSet *collSet(const char *, Class *,
00035 const Oid&, const Oid&,
00036 int, int, int,
00037 const CollImpl *, Object *,
00038 Bool, Bool, Data, Size);
00039 static CollBag *collBag(const char *, const CollImpl *);
00040 static CollBag *collBag(const char *, Class *,
00041 const Oid&, const Oid&,
00042 int, int, int,
00043 const CollImpl *, Object *,
00044 Bool, Bool, Data, Size);
00045 static CollList *collList(const char *, const CollImpl *);
00046 static CollList *collList(const char *, Class *,
00047 const Oid&, const Oid&,
00048 int, int, int,
00049 const CollImpl *, Object *,
00050 Bool, Bool, Data, Size);
00051 static CollArray *collArray(const char *, const CollImpl *);
00052 static CollArray *collArray(const char *, Class *,
00053 const Oid&, const Oid&,
00054 int, int, int,
00055 const CollImpl *, Object *,
00056 Bool, Bool, Data, Size);
00057 static void setLock(Collection *, Bool);
00058 static void setInvOid(Collection *, const Oid&, int);
00059 static Bool isLocked(Collection *);
00060 };
00061 }
00062
00063 #endif