CFx SDK Documentation
2022 SP0
SDK
CFx
dd_inc
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
31
enum
AfTypeVerEnum
32
{
33
kAfVerMask
= 0x00FFFFFF,
34
kAfVerInvalid
=
kAfVerMask
,
35
kAfVerAny
= 0x00000000,
36
kAfVerUnknown
=
kAfVerAny
,
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,
56
kAfLastVersion
=
kAfVer22300
,
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
64
kAfTypeInvalid
=
kAfTypeMask
,
65
kAfTypeAny
= 0x00000000,
66
kAfTypeUnknown
=
kAfTypeAny
,
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
79
kAfTypeVerInvalid
=
kAfTypeInvalid
|
kAfVerInvalid
,
80
kAfTypeVerAny
=
kAfTypeAny
|
kAfVerAny
,
81
kAfTypeVerUnknown
=
kAfTypeVerAny
,
82
84
85
kAf_ASCII_Any
=
kAfTypeASCII
|
kAfVerAny
,
86
kAf_ASCII_106
=
kAfTypeASCII
|
kAfVer106
,
87
kAf_ASCII_400
=
kAfTypeASCII
|
kAfVer400
,
88
kAf_ASCII_500
=
kAfTypeASCII
|
kAfVer500
,
89
kAf_ASCII_600
=
kAfTypeASCII
|
kAfVer600
,
90
kAf_ASCII_700
=
kAfTypeASCII
|
kAfVer700
,
91
kAf_ASCII_20800
=
kAfTypeASCII
|
kAfVer20800
,
92
kAf_ASCII_21200
=
kAfTypeASCII
|
kAfVer21200
,
93
kAf_ASCII_21500
=
kAfTypeASCII
|
kAfVer21500
,
94
95
kAf_Binary_Any
=
kAfTypeBinary
|
kAfVerAny
,
96
kAf_Binary_106
=
kAfTypeBinary
|
kAfVer106
,
97
kAf_Binary_400
=
kAfTypeBinary
|
kAfVer400
,
98
kAf_Binary_500
=
kAfTypeBinary
|
kAfVer500
,
99
kAf_Binary_600
=
kAfTypeBinary
|
kAfVer600
,
100
kAf_Binary_700
=
kAfTypeBinary
|
kAfVer700
,
101
kAf_Binary_20800
=
kAfTypeBinary
|
kAfVer20800
,
102
kAf_Binary_21200
=
kAfTypeBinary
|
kAfVer21200
,
103
kAf_Binary_21500
=
kAfTypeBinary
|
kAfVer21500
104
};
105
110
namespace
OdDb
111
{
112
enum
BoolOperType
113
{
114
kBoolUnite
= 0,
115
kBoolIntersect
= 1,
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
uint
unsigned int uint
Definition:
FxQtCore.h:73
AfTypeVerEnum
AfTypeVerEnum
Definition:
ModelerDefs.h:32
kAf_ASCII_106
@ kAf_ASCII_106
Definition:
ModelerDefs.h:86
kAfVer22300
@ kAfVer22300
Definition:
ModelerDefs.h:55
kAfVerMask
@ kAfVerMask
Definition:
ModelerDefs.h:33
kAfVer21500
@ kAfVer21500
Definition:
ModelerDefs.h:51
kAfVer21600
@ kAfVer21600
Definition:
ModelerDefs.h:52
kAf_Binary_400
@ kAf_Binary_400
Definition:
ModelerDefs.h:97
kAfVer400
@ kAfVer400
Definition:
ModelerDefs.h:43
kAfTypeIndexed
@ kAfTypeIndexed
Definition:
ModelerDefs.h:75
kAfTypeVerInvalid
@ kAfTypeVerInvalid
Definition:
ModelerDefs.h:79
kAfVer500
@ kAfVer500
Definition:
ModelerDefs.h:44
kAf_Binary_21200
@ kAf_Binary_21200
Definition:
ModelerDefs.h:102
kAfVerAny
@ kAfVerAny
Definition:
ModelerDefs.h:35
kAf_Binary_Any
@ kAf_Binary_Any
Definition:
ModelerDefs.h:95
kAfVer1000
@ kAfVer1000
Definition:
ModelerDefs.h:47
kAfVerInvalid
@ kAfVerInvalid
Definition:
ModelerDefs.h:34
kAfTypeUnknown
@ kAfTypeUnknown
Definition:
ModelerDefs.h:66
kAfVer600
@ kAfVer600
Definition:
ModelerDefs.h:45
kAfVer21700
@ kAfVer21700
Definition:
ModelerDefs.h:53
kAf_Binary_21500
@ kAf_Binary_21500
Definition:
ModelerDefs.h:103
kAfVer21800
@ kAfVer21800
Definition:
ModelerDefs.h:54
kAfVer107
@ kAfVer107
Definition:
ModelerDefs.h:40
kAf_Binary_600
@ kAf_Binary_600
Definition:
ModelerDefs.h:99
kAfTypeVerUnknown
@ kAfTypeVerUnknown
Definition:
ModelerDefs.h:81
kAfTypeAny
@ kAfTypeAny
Definition:
ModelerDefs.h:65
kAf_Binary_106
@ kAf_Binary_106
Definition:
ModelerDefs.h:96
kAfTypeVerAny
@ kAfTypeVerAny
Definition:
ModelerDefs.h:80
kAfVer1100
@ kAfVer1100
Definition:
ModelerDefs.h:48
kAf_Binary_20800
@ kAf_Binary_20800
Definition:
ModelerDefs.h:101
kAfLastVersion
@ kAfLastVersion
Definition:
ModelerDefs.h:56
kAf_ASCII_400
@ kAf_ASCII_400
Definition:
ModelerDefs.h:87
kAfVer106
@ kAfVer106
Definition:
ModelerDefs.h:39
kAf_ASCII_21500
@ kAf_ASCII_21500
Definition:
ModelerDefs.h:93
kAf_ASCII_500
@ kAf_ASCII_500
Definition:
ModelerDefs.h:88
kAfVer201
@ kAfVer201
Definition:
ModelerDefs.h:42
kAfVerUnknown
@ kAfVerUnknown
Definition:
ModelerDefs.h:36
kAfVer20800
@ kAfVer20800
Definition:
ModelerDefs.h:49
kAf_Binary_700
@ kAf_Binary_700
Definition:
ModelerDefs.h:100
kAfTypeMask
@ kAfTypeMask
Definition:
ModelerDefs.h:62
kAfTypeASCII
@ kAfTypeASCII
Definition:
ModelerDefs.h:68
kAf_ASCII_700
@ kAf_ASCII_700
Definition:
ModelerDefs.h:90
kAfTypeBinary
@ kAfTypeBinary
Definition:
ModelerDefs.h:69
kAf_Binary_500
@ kAf_Binary_500
Definition:
ModelerDefs.h:98
kAf_ASCII_21200
@ kAf_ASCII_21200
Definition:
ModelerDefs.h:92
kAfVer21200
@ kAfVer21200
Definition:
ModelerDefs.h:50
kAfVer700
@ kAfVer700
Definition:
ModelerDefs.h:46
kAfVer200
@ kAfVer200
Definition:
ModelerDefs.h:41
kAf_ASCII_20800
@ kAf_ASCII_20800
Definition:
ModelerDefs.h:91
kAfTypeInvalid
@ kAfTypeInvalid
Definition:
ModelerDefs.h:64
kAf_ASCII_600
@ kAf_ASCII_600
Definition:
ModelerDefs.h:89
kAf_ASCII_Any
@ kAf_ASCII_Any
Definition:
ModelerDefs.h:85
kAfVer105
@ kAfVer105
Definition:
ModelerDefs.h:38
AfTypeVer
int AfTypeVer
Definition:
ModelerDefs.h:29
OdInt32
int OdInt32
Definition:
OdPlatformSettings.h:782
OdDb
Definition:
Db2dPolyline.h:50
OdDb::BoolOperType
BoolOperType
Definition:
ModelerDefs.h:113
OdDb::kBoolUnite
@ kBoolUnite
Definition:
ModelerDefs.h:114
OdDb::kBoolSubtract
@ kBoolSubtract
Definition:
ModelerDefs.h:116
OdDb::kBoolIntersect
@ kBoolIntersect
Definition:
ModelerDefs.h:115
Generated on Fri Jan 22 2021 18:01:48