CFx SDK Documentation  2020SP3
ModelerDefs.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef TYPEVER_H
25 #define TYPEVER_H
29 typedef int AfTypeVer;
30 
32 {
33  kAfVerMask = 0x00FFFFFF,
35  kAfVerAny = 0x00000000,
37 
38  kAfVer105 = 105,
39  kAfVer106 = 106,
40  kAfVer107 = 107,
41  kAfVer200 = 200,
42  kAfVer201 = 201,
43  kAfVer400 = 400,
44  kAfVer500 = 500,
45  kAfVer600 = 600,
46  kAfVer700 = 700,
47  kAfVer1000 = 1000,
48  kAfVer1100 = 1100,
49  kAfVer20800 = 20800,
50  kAfVer21200 = 21200,
51  kAfVer21500 = 21500,
52  kAfVer21600 = 21600,
53  kAfVer21700 = 21700,
54  kAfVer21800 = 21800,
55  kAfVer22300 = 22300,
57 #if defined(OD_SWIGCSHARP)
58  kAfTypeMask = (uint)0xFF000000,
59 #elif defined(OD_SWIGJAVA)
60  kAfTypeMask = (long)0xFF000000,
61 #else
62  kAfTypeMask = (OdInt32)0xFF000000,
63 #endif
65  kAfTypeAny = 0x00000000,
67 
68  kAfTypeASCII = 0x01000000,
69  kAfTypeBinary = 0x02000000,
70 #if defined(OD_SWIGCSHARP)
71  kAfTypeIndexed = (uint)0x80000000, // used only with kAfTypeASCII
72 #elif defined(OD_SWIGJAVA)
73  kAfTypeIndexed = (long)0x80000000, // used only with kAfTypeASCII
74 #else
75  kAfTypeIndexed = (OdInt32)0x80000000, // used only with kAfTypeASCII
76 #endif
77 
78 
82 
84 
94 
104 };
105 
110 namespace OdDb
111 {
113  {
116  kBoolSubtract = 2
117  };
118 }
119 
120 #define ABSTREAM_BINARY "ACIS BinaryFile"
121 #define ABSTREAM_BINARY_ASM "ASM BinaryFile4"
122 #define AB_TYPE_LENGTH 15
123 
124 #define AB_IS_BINARY(sBin) ((::strncmp( ABSTREAM_BINARY, sBin, AB_TYPE_LENGTH ) == 0) || (::strncmp( ABSTREAM_BINARY_ASM, sBin, AB_TYPE_LENGTH ) == 0))
125 
126 #endif //TYPEVER_H
kAf_Binary_Any
@ kAf_Binary_Any
Definition: ModelerDefs.h:95
kAf_Binary_400
@ kAf_Binary_400
Definition: ModelerDefs.h:97
kAf_Binary_600
@ kAf_Binary_600
Definition: ModelerDefs.h:99
kAfVer200
@ kAfVer200
Definition: ModelerDefs.h:41
kAfVer201
@ kAfVer201
Definition: ModelerDefs.h:42
OdDb::kBoolIntersect
@ kBoolIntersect
Definition: ModelerDefs.h:115
kAfVer21800
@ kAfVer21800
Definition: ModelerDefs.h:54
kAfTypeVerUnknown
@ kAfTypeVerUnknown
Definition: ModelerDefs.h:81
kAf_ASCII_21500
@ kAf_ASCII_21500
Definition: ModelerDefs.h:93
kAfVerAny
@ kAfVerAny
Definition: ModelerDefs.h:35
kAfTypeVerInvalid
@ kAfTypeVerInvalid
Definition: ModelerDefs.h:79
kAfLastVersion
@ kAfLastVersion
Definition: ModelerDefs.h:56
kAf_ASCII_21200
@ kAf_ASCII_21200
Definition: ModelerDefs.h:92
kAfVer500
@ kAfVer500
Definition: ModelerDefs.h:44
kAfVer22300
@ kAfVer22300
Definition: ModelerDefs.h:55
OdDb::kBoolSubtract
@ kBoolSubtract
Definition: ModelerDefs.h:116
kAfVer1000
@ kAfVer1000
Definition: ModelerDefs.h:47
kAfTypeVerAny
@ kAfTypeVerAny
Definition: ModelerDefs.h:80
kAfTypeInvalid
@ kAfTypeInvalid
Definition: ModelerDefs.h:64
kAf_Binary_21500
@ kAf_Binary_21500
Definition: ModelerDefs.h:103
AfTypeVerEnum
AfTypeVerEnum
Definition: ModelerDefs.h:32
kAfVer21500
@ kAfVer21500
Definition: ModelerDefs.h:51
kAf_ASCII_Any
@ kAf_ASCII_Any
Definition: ModelerDefs.h:85
kAf_Binary_500
@ kAf_Binary_500
Definition: ModelerDefs.h:98
kAf_ASCII_600
@ kAf_ASCII_600
Definition: ModelerDefs.h:89
kAfVer105
@ kAfVer105
Definition: ModelerDefs.h:38
kAfVer600
@ kAfVer600
Definition: ModelerDefs.h:45
kAf_ASCII_106
@ kAf_ASCII_106
Definition: ModelerDefs.h:86
kAf_Binary_106
@ kAf_Binary_106
Definition: ModelerDefs.h:96
kAfVerMask
@ kAfVerMask
Definition: ModelerDefs.h:33
kAfVer700
@ kAfVer700
Definition: ModelerDefs.h:46
kAfVer1100
@ kAfVer1100
Definition: ModelerDefs.h:48
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
kAf_ASCII_400
@ kAf_ASCII_400
Definition: ModelerDefs.h:87
OdDb::kBoolUnite
@ kBoolUnite
Definition: ModelerDefs.h:114
kAf_Binary_21200
@ kAf_Binary_21200
Definition: ModelerDefs.h:102
kAf_Binary_700
@ kAf_Binary_700
Definition: ModelerDefs.h:100
kAf_ASCII_20800
@ kAf_ASCII_20800
Definition: ModelerDefs.h:91
kAfVer21600
@ kAfVer21600
Definition: ModelerDefs.h:52
kAfVer106
@ kAfVer106
Definition: ModelerDefs.h:39
kAfTypeMask
@ kAfTypeMask
Definition: ModelerDefs.h:62
kAfTypeASCII
@ kAfTypeASCII
Definition: ModelerDefs.h:68
kAf_Binary_20800
@ kAf_Binary_20800
Definition: ModelerDefs.h:101
OdDb::BoolOperType
BoolOperType
Definition: ModelerDefs.h:113
kAfVerInvalid
@ kAfVerInvalid
Definition: ModelerDefs.h:34
kAfVer20800
@ kAfVer20800
Definition: ModelerDefs.h:49
kAfVer107
@ kAfVer107
Definition: ModelerDefs.h:40
kAf_ASCII_700
@ kAf_ASCII_700
Definition: ModelerDefs.h:90
OdDb
Definition: Db2dPolyline.h:50
uint
unsigned int uint
Definition: FxQtCore.h:73
kAfVer400
@ kAfVer400
Definition: ModelerDefs.h:43
kAfVer21700
@ kAfVer21700
Definition: ModelerDefs.h:53
kAfTypeIndexed
@ kAfTypeIndexed
Definition: ModelerDefs.h:75
kAfVer21200
@ kAfVer21200
Definition: ModelerDefs.h:50
kAfTypeAny
@ kAfTypeAny
Definition: ModelerDefs.h:65
kAfTypeUnknown
@ kAfTypeUnknown
Definition: ModelerDefs.h:66
kAfTypeBinary
@ kAfTypeBinary
Definition: ModelerDefs.h:69
kAf_ASCII_500
@ kAf_ASCII_500
Definition: ModelerDefs.h:88
kAfVerUnknown
@ kAfVerUnknown
Definition: ModelerDefs.h:36