CFx SDK Documentation  2023 SP0
FxFdtError.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2022 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 
18 #ifndef _fxfdterror_h
19 #define _fxfdterror_h
20 
21 #define OL_GOOD 0 /* Everything is OK */
22 #define OL_ESNVALID 1 /* Invalid table name */
23 #define OL_ENAMEVALID 2 /* Invalid name of entity or selection set */
24 #define OL_ESSMAX 3 /* Unused. Max number of selection sets excedeed*/
25 #define OL_ESSVALID 4 /* Invalid selection set */
26 #define OL_EBDEVALID 5 /* Unused. Incorrect use of blockdefinition entity */
27 #define OL_EXDEVALID 6 /* Unused. Incorrect use of xref entity */
28 #define OL_ENTSELPICK 7 /* No entity selected (failed pick) */
29 #define OL_EEOEF 8 /* End of entity definition */
30 #define OL_EEOBD 9 /* End of blockdefinition */
31 #define OL_EEMPDB 10 /* entlast failed */
32 #define OL_EDELVPORT 11 /* Unused. Invalid entdel of viewport */
33 #define OL_EACQPLINE 12 /* Unused. Operation not allowed during POLYLINE command */
34 #define OL_EHANDLE 13 /* Invalid handle */
35 #define OL_ENOHAND 14 /* Unused. Handles not enabled */
36 #define OL_ETRANS 15 /* Unused. Invalid transformation request */
37 #define OL_EXSPACE 16 /* Unused. Invalid space transformation request */
38 #define OL_EDELENT 17 /* Invalid use of deleted entity */
39 #define OL_ETBLNAME 18 /* Invalid table name */
40 #define OL_ETBLARG 19 /* Invalid argument in table function */
41 #define OL_ERDONLY 20 /* Attempt to set read only variable */
42 #define OL_ENONZERO 21 /* Invalid value (zero) */
43 #define OL_ERANGE 22 /* Value out of range */
44 #define OL_ERGBUSY 23 /* Unused. Complex regen in progress */
45 #define OL_EMMTYPE 24 /* Attempt to change entity type */
46 #define OL_EMMLAY 25 /* Invalid layer name */
47 #define OL_EMMLT 26 /* Invalid linetype name */
48 #define OL_EMMCOLOR 27 /* Invalid color name */
49 #define OL_EMMSTYLE 28 /* Invalid text style name */
50 #define OL_EMMSHAPE 29 /* Unused. Invalid shape name */
51 #define OL_EMMFTYPE 30 /* Unused. Invalid field for entity type */
52 #define OL_EMODDEL 31 /* Attempted entmod of deleted entity */
53 #define OL_EMODSEQ 32 /* Attempt to entmod SEQEND */
54 #define OL_EMODHAND 33 /* Attempt to change handle */
55 #define OL_EMODVPVIS 34 /* Unused. Invalid modification of viewport vis. */
56 #define OL_EMMLL 35 /* Entity on locked layer */
57 #define OL_EMKTYPE 36 /* Invalid entity type */
58 #define OL_EMKPLINE 37 /* Invalid POLYLINE entity */
59 #define OL_EMKCMPLX 38 /* Unused. Incomplete complex entity in block */
60 #define OL_EMKBNAME 39 /* Invalid block name field */
61 #define OL_EMKBFLAG 40 /* Unused. Duplicate block flag fields */
62 #define OL_EMKDBNAME 41 /* Duplicate block name fields */
63 #define OL_EMKNORM 42 /* Unused. Invalid normal vector */
64 #define OL_EMKNOBNM 43 /* Missing block name */
65 #define OL_EMKNOBFLG 44 /* Missing block flags */
66 #define OL_EMKANON 45 /* Invalid anonymous block */
67 #define OL_EMKBLOCK 46 /* Invalid block definition entity */
68 #define OL_EMKMANDF 47 /* Mandatory field missing */
69 #define OL_EMMXDTYPE 48 /* Unrecognized extended data type */
70 #define OL_EMMXDNEST 49 /* Invalid nesting of list in xdata */
71 #define OL_EMMXDAPPID 50 /* Invalid location of APPID field */
72 #define OL_EMMXDSIZE 51 /* Unused. Max xdata size exceeded */
73 #define OL_ENTSELNULL 52 /* Entity selection (null response) */
74 #define OL_EMXDAPPID 53 /* entmod/entmake with duplicate appid */
75 #define OL_EMMVPORT 54 /* Unused. entmod/entmake of VIEWPORT failed */
76 #define OL_INVEXT 55 /* Unused. XDEF/XREF/XDEP Entmake */
77 #define OL_EFLTR1 56 /* Invalid fdt_ssget filter: premature end */
78 #define OL_EFLTR2 57 /* " missing test operand */
79 #define OL_EFLTR3 58 /* " invalid opcode string */
80 #define OL_EFLTR4 59 /* " void clause/bad nesting */
81 #define OL_EFLTR5 60 /* " beg/end clause mismatch */
82 #define OL_EFLTR6 61 /* " wrong # of XOR/NOT args */
83 #define OL_EFLTR7 62 /* " max nesting exceeded */
84 #define OL_EFLTR8 63 /* " invalid group code */
85 #define OL_EFLTR9 64 /* " invalid string test */
86 #define OL_EFLTR10 65 /* " invalid vector test */
87 #define OL_EFLTR11 66 /* " invliad real test */
88 #define OL_EFLTR12 67 /* " invalid integer test */
89 #define OL_TABNOT 68 /* Unused. Digitizer is not a tablet */
90 #define OL_TABNOCAL 69 /* Unused. Tablet not calibrated. */
91 #define OL_TABERR 70 /* Unused. Invalid tablet arguments */
92 #define OL_ENEWRB 71 /* Unused.Unable to allocate resbuf */
93 #define OL_ENULLPTR 72 /* Unused.NULL Pointer found */
94 #define OL_EOPEN 73 /* Open file failed */
95 #define OL_ELOADED 74 /* Application is already loaded */
96 #define OL_EMAXAPP 75 /* Unused. Exceeded the number of loaded applications */
97 #define OL_EEXEC 76 /* Unable to execute the application */
98 #define OL_EVERSION 77 /* Unused. Incompatible version number */
99 #define OL_EDENIED 78 /* Unused. Unable to unload nested ADS application */
100 #define OL_EREFUSE 79 /* Unused. The application refused to XUNLOAD */
101 #define OL_ENOTLOADED 80 /* Application is not loaded */
102 #define OL_ENOMEM 81 /* Out of memory */
103 #define OL_EXFMVALID 82 /* Invalid transformation matrix */
104 #define OL_ESYMNAM 83 /* Invalid symbol name */
105 #define OL_ESYMVAL 84 /* Invalid symbol value */
106 #define OL_NONDIALOG 85 /* Not allowed when dialog open */
107 #define OL_ECMDINP 92 /* Unused. Invalid while command in progress */
108 #define OL_EBADTYPE 93 /* Unused. Invalid value type */
109 #define OL_EBADVPID 94 /* Unused. Invalid viewport id */
110 #define OL_EBADVIEW 95 /* Unused. Invalid view definition */
111 #define OL_EGCODE 96 /* Unused. Unexpected group code */
112 #define OL_EGDUP 97 /* Unused. Duplicated group code */
113 #define OL_EBADSSMOD 98 /* Unused. Invalid ssget mode string */
114 #define OL_EARGMATCH 99 /* Unused. Arguments does not match */
115 #define OL_SVRECURSE 100 /* Unused. Do not call setvar recursively */
116 #define OL_MODOPEN 101 /* Unused. Attempt to modify an open entity */
117 #define OL_NOTENTITY 102 /* Unused. ENTNEXT on a non-entity */
118 #define OL_BADPLMOD 103 /* Unused. Invalid modification of a polyline */
119 #define OL_BADCTLSTR 104 /* Unused. Badly nested control string */
120 #define OL_EXDICT_PR 105 /* Unused. Failure to modify extension dictionary or Persistent reactor on r12 entity */
121 #define OL_FNOTFOUND 106 /* File not found */
122 #define OL_NOFREEDB 107 /* No free database */
123 #define OL_CREAWIN 108 /* Error creating window */
124 #define OL_INVNAME 109 /* Invalid name */
125 #define OL_FALOPEN 110 /* File already open */
126 #define OL_CMD 111 /* Error in fdt_command(), fdt_cmd() */
127 #define OL_FLOCKED 112 /* File locked */
128 #define OL_READFLX 113 /* Error reading FLX file */
129 #define OL_SAVEFLX 114 /* Error saving FLX file */
130 #define OL_FNOOPEN 115 /* No file open */
131 #define OL_FRO 116 /* File opened is Read-Only */
132 #define OL_CRBAK 117 /* Error creating BAK file */
133 #define OL_DBNR 118 /* Invalid db-number */
134 #define OL_FLXEXIST 119 /* File exists */
135 #define OL_NOFLXNAME 120 /* Drawing exists without name (created with fdt_flxnew()) */
136 #define OL_INVMODE 121 /* Invalid mode in fdt_ssget()/fdt_osnap() */
137 #define OL_INTERROR 122 /* Internal error */
138 #define OL_DBNOPEN 123 /* No database opened */
139 #define OL_BLCODE 124 /* Invalid result type code in fdt_buildlist() */
140 #define OL_ENTCREATE 125 /* Error during insert an entity into database */
141 #define OL_TBLEXIST 126 /* Table entry already exists (fdt_tblmake()) */
142 #define OL_ENTNOTEX 127 /* Entry does not exist */
143 #define OL_DASHLEN 128 /* Incorrect dash length */
144 #define OL_MAX1004 129 /* Chunk lenght graeter then 127 */
145 #define OL_VPORTID 130 /* Missing vport-ID (fdt_tblmod(),fdt_tblmake()) */
146 #define OL_AMODVID 131 /* Attempt to modify vport-ID */
147 #define OL_AMODC70 132 /* Attempt to modify dxf-code 70 */
148 #define OL_AFRICLAY 133 /* Attempt to freeze active layer */
149 #define OL_INVDIR 134 /* Incorrect direction in VPORT_TBL */
150 #define OL_DBEMPTY 135 /* Database contains no entity */
151 #define OL_ARENEBAS 136 /* Attempt to modify current table entry */
152 #define OL_EINDEX 137 /* Invalid index in fdt_ssname() */
153 #define OL_FILEOPEN 138 /* Error during file open */
154 #define OL_TBLEMPTY 140 /* Table contains no entry */
155 #define OL_TBLREF 141 /* Table entry is referenced */
156 #define OL_DRAGEXIST 142 /* Dragfunktion always installed */
157 #define OL_OUTSIDE 143 /* structur to complex or point outside entities (fdt_pcontur) */
158 #define OL_HOOK 144 /* Entity was rejected by hook-function (fdt_ssadd()) */
159 #define OL_RECURSIV 145 /* Recursive call of a hook-function */
160 #define OL_SPACE 146 /* paperspace is active */
161 #define OL_PARAM 147 /* invalid parameter */
162 #define OL_XREF 148 /* locked by xref */
163 #define OL_STRINGLEN 149 /* allokated string to small */
164 #define OL_ACTMODEL 150 /* Operation not allowed because of active parametric model */
165 #define OL_OLELENGTH 151 /* bindate of ole2frame bindata larger then defines */
166 
167 /* If you add a new error code, be sure to increment this number */
168 
169 #define MAX_OL_ERRNO 151
170 
171 #endif /* _fdterror_h */
172 
173 /* end of file */