?? treeindex.mco
字號:
/****************************************************************
* *
* Copyright (c) 2001-2007 McObject LLC. All Right Reserved. *
* *
****************************************************************/
// This sample demonstrates operations with tree-indexes
#define uint4 unsigned<4>
declare database randdb;
struct Vis
{
float fValue;
uint4 iRGB;
};
class Measurement
{
uint4 iSeries; /* Series of measurement */
uint4 iIdx; /* Index */
time tTime; /* timestamp */
float fValue1; /* value1 */
float fValue2; /* value2 */
float fDiff; /* difference */
vector < Vis > vVis; /* Visualization */
unique tree <iSeries, iIdx> I_Index; /* unique complex index */
tree <tTime> I_Time;
tree <fDiff> I_Diff;
tree <vVis.iRGB> I_RGB; /* index on vector of structures */
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -