dbtype.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 #if !defined(__dbtypeH__)
10 #define __dbtypeH__
11 /*----------------------------------------------------------------------+
12 | |
13 | General Defines |
14 | |
15 +----------------------------------------------------------------------*/
16 #define DBTYPE_Databases 1
17 #define DB_PRODUCT_NAME_SIZE 64 /* max length for DB product name RIS, Oracle...*/
18 
19 
20 /*----------------------------------------------------------------------+
21 | |
22 | Database type structure definitions |
23 | |
24 +----------------------------------------------------------------------*/
25 struct DBType
26 {
28  long level;
29  short id;
30  long linkType;
31 };
32 
33 struct DBTypes
34 {
35 #if !defined (resource)
36  long numDBTypes;
38 #else
39  DBType dbType[];
40 #endif
41 };
42 
43 #endif
long numDBTypes
Definition: dbtype.h:36
wchar_t WChar
Definition: Bentley.h:223
Definition: dbtype.h:33
short id
Definition: dbtype.h:29
WChar name[64]
Definition: dbtype.h:27
#define DB_PRODUCT_NAME_SIZE
Definition: dbtype.h:17
WChar dbType[1]
Definition: dbtype.h:37
Definition: dbtype.h:25
long linkType
Definition: dbtype.h:30
long level
Definition: dbtype.h:28

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.