?? types.mco
字號:
/************************************************************
* *
* Copyright (c) 2001-2007 McObject LLC. All Right Reserved.*
* *
************************************************************/
/* Demonstrates various data types supported by
* eXtremeDB runtime
*/
#define int1 signed<1>
#define int2 signed<2>
#define int4 signed<4>
#define int8 signed<8>
#define uint8 unsigned<8>
#define uint4 unsigned<4>
#define uint2 unsigned<2>
#define uint1 unsigned<1>
declare database typesdb;
struct Dyn
{
string s;
};
struct DynStruct
{
string s;
};
struct FixedStruct
{
uint4 u4;
uint8 u8;
};
class AllTypes
{
time time_in;
uint1 u1;
uint2 u2;
uint4 u4;
uint8 u8;
vector<string> vs;
int4 vint4[200]; /* integer array */
FixedStruct fs[200];
DynStruct ds[100];
blob blo;
autoid[2000];
list;
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -