00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __L_TYPES_H__
00016 #define __L_TYPES_H__
00017
00018
00019
00020
00021
00022 enum UpdatingStrategy {
00023 US_Default = 0x0001,
00024 US_Current = 0x0002,
00025 US_Inherited = 0x0003,
00026 US_OnDemand = 0x0004,
00027 US_Immediately = 0x0005
00028 };
00029
00030 #define US_MASK 0x0007
00031
00032 enum LockingStrategy {
00033 LS_Default = 0x0008,
00034 LS_Current = 0x0010,
00035 LS_Inherited = 0x0018,
00036 LS_None = 0x0020,
00037 LS_Shared = 0x0028,
00038 LS_Exclusive = 0x0030
00039 };
00040
00041 #define LS_MASK 0x0038
00042
00043 enum WaitingStrategy {
00044 WS_Default = 0x0040,
00045 WS_Current = 0x0080,
00046 WS_Inherited = 0x00C0,
00047 WS_Wait = 0x0100,
00048 WS_Nowait = 0x0140
00049 };
00050
00051 #define WS_MASK 0x01C0
00052
00053 enum ReadingStrategy {
00054 RS_Default = 0x0200,
00055 RS_Current = 0x0400,
00056 RS_Inherited = 0x0600,
00057 RS_Cache = 0x0800,
00058 RS_Database = 0x0A00,
00059 RS_Timestamp = 0x0C00
00060 };
00061
00062 #define RS_MASK 0x0E00
00063
00064 #endif //__L_TYPES_H__