📄 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 + -