CFx SDK Documentation
2020SP3
SDK
CFx
inc
FxFdtError.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2020 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_ESSVALID 3
/* Invalid selection set */
25
#define OL_ENTSELPICK 4
/* No entity selected (failed pick) */
26
#define OL_EEOEF 5
/* End of entity definition */
27
#define OL_EEOBD 6
/* End of blockdefinition */
28
#define OL_EEMPDB 7
/* entlast failed */
29
#define OL_EHANDLE 8
/* Invalid handle */
30
#define OL_ETBLNAME 9
/* Invalid table name */
31
#define OL_ETBLARG 10
/* Invalid argument in table function */
32
#define OL_ERDONLY 11
/* Attempt to set read only variable */
33
#define OL_ENONZERO 12
/* Invalid value (zero) */
34
#define OL_ERANGE 13
/* Value out of range */
35
#define OL_EMMTYPE 14
/* Attempt to change entity type */
36
#define OL_EMMLAY 15
/* Invalid layer name */
37
#define OL_EMMLT 16
/* Invalid linetype name */
38
#define OL_EMMCOLOR 17
/* Invalid color name */
39
#define OL_EMMSTYLE 18
/* Invalid text style name */
40
#define OL_EMODSEQ 19
/* Attempt to entmod SEQEND */
41
#define OL_EMODHAND 20
/* Attempt to change handle */
42
#define OL_EMMLL 21
/* Entity on locked layer */
43
#define OL_EMKTYPE 22
/* Invalid entity type */
44
#define OL_EMKPLINE 23
/* Invalid POLYLINE entity */
45
#define OL_EMKBNAME 24
/* Invalid block name field */
46
#define OL_EMKDBNAME 25
/* Duplicate block name fields */
47
#define OL_EMKNOBNM 26
/* Missing block name */
48
#define OL_EMKNOBFLG 27
/* Missing block flags */
49
#define OL_EMKANON 28
/* Invalid anonymous block */
50
#define OL_EMKBLOCK 29
/* Invalid block definition entity */
51
#define OL_EMKMANDF 30
/* Mandatory field missing */
52
#define OL_EMMXDTYPE 31
/* Unrecognized extended data type */
53
#define OL_EMMXDNEST 32
/* Invalid nesting of list in xdata */
54
#define OL_EMMXDAPPID 33
/* Invalid location of APPID field */
55
#define OL_ENTSELNULL 34
/* Entity selection (null response) */
56
#define OL_EMXDAPPID 35
/* entmod/entmake with duplicate appid */
57
#define OL_EFLTR1 36
/* Invalid fdt_ssget filter: premature end */
58
#define OL_EFLTR2 37
/* " missing test operand */
59
#define OL_EFLTR3 38
/* " invalid opcode string */
60
#define OL_EFLTR4 39
/* " void clause/bad nesting */
61
#define OL_EFLTR5 40
/* " beg/end clause mismatch */
62
#define OL_EFLTR6 41
/* " wrong # of XOR/NOT args */
63
#define OL_EFLTR7 42
/* " max nesting exceeded */
64
#define OL_EFLTR8 43
/* " invalid group code */
65
#define OL_EFLTR9 44
/* " invalid string test */
66
#define OL_EFLTR10 45
/* " invalid vector test */
67
#define OL_EFLTR11 46
/* " invliad real test */
68
#define OL_EFLTR12 47
/* " invalid integer test */
69
#define OL_EOPEN 48
/* Open file failed */
70
#define OL_ELOADED 49
/* Application is already loaded */
71
#define OL_EEXEC 50
/* Unable to execute the application */
72
#define OL_ENOTLOADED 51
/* Application is not loaded */
73
#define OL_ENOMEM 52
/* Out of memory */
74
#define OL_EXFMVALID 53
/* Invalid transformation matrix */
75
#define OL_ESYMNAM 54
/* Invalid symbol name */
76
#define OL_ESYMVAL 55
/* Invalid symbol value */
77
#define OL_NONDIALOG 56
/* Not allowed when dialog open */
78
#define OL_FNOTFOUND 57
/* File not found */
79
#define OL_NOFREEDB 58
/* No free database */
80
#define OL_CREAWIN 59
/* Error creating window */
81
#define OL_INVNAME 60
/* Invalid name */
82
#define OL_FALOPEN 61
/* File already open */
83
#define OL_CMD 62
/* Error in fdt_command(), fdt_cmd() */
84
#define OL_FLOCKED 63
/* File locked */
85
#define OL_READFLX 64
/* Error reading FLX file */
86
#define OL_SAVEFLX 65
/* Error saving FLX file */
87
#define OL_FNOOPEN 66
/* No file open */
88
#define OL_FRO 67
/* File opened is Read-Only */
89
#define OL_CRBAK 68
/* Error creating BAK file */
90
#define OL_DBNR 69
/* Invalid db-number */
91
#define OL_FLXEXIST 70
/* File exists */
92
#define OL_NOFLXNAME 71
/* Drawing exists without name (created with fdt_flxnew()) */
93
#define OL_INVMODE 72
/* Invalid mode in fdt_ssget()/fdt_osnap() */
94
#define OL_INTERROR 73
/* Internal error */
95
#define OL_DBNOPEN 74
/* No database opened */
96
#define OL_BLCODE 75
/* Invalid result type code in fdt_buildlist() */
97
#define OL_ENTCREATE 76
/* Error during insert an entity into database */
98
#define OL_TBLEXIST 77
/* Table entry already exists (fdt_tblmake()) */
99
#define OL_ENTNOTEX 78
/* Entry does not exist */
100
#define OL_DASHLEN 79
/* Incorrect dash length */
101
#define OL_MAX1004 80
/* Chunk lenght graeter then 127 */
102
#define OL_VPORTID 81
/* Missing vport-ID (fdt_tblmod(),fdt_tblmake()) */
103
#define OL_AMODVID 82
/* Attempt to modify vport-ID */
104
#define OL_AMODC70 83
/* Attempt to modify dxf-code 70 */
105
#define OL_AFRICLAY 84
/* Attempt to freeze active layer */
106
#define OL_INVDIR 85
/* Incorrect direction in VPORT_TBL */
107
#define OL_DBEMPTY 86
/* Database contains no entity */
108
#define OL_ARENEBAS 87
/* Attempt to modify current table entry */
109
#define OL_EINDEX 88
/* Invalid index in fdt_ssname() */
110
#define OL_FILEOPEN 89
/* Error during file open */
111
#define OL_TBLEMPTY 90
/* Table contains no entry */
112
#define OL_TBLREF 91
/* Table entry is referenced */
113
#define OL_DRAGEXIST 92
/* Dragfunktion always installed */
114
#define OL_OUTSIDE 93
/* structur to complex or point outside entities (fdt_pcontur) */
115
#define OL_HOOK 94
/* Entity was rejected by hook-function (fdt_ssadd()) */
116
#define OL_RECURSIV 95
/* Recursive call of a hook-function */
117
#define OL_SPACE 96
/* paperspace is active */
118
#define OL_PARAM 97
/* invalid parameter */
119
#define OL_XREF 98
/* locked by xref */
120
#define OL_STRINGLEN 99
/* allokated string to small */
121
#define OL_ACTMODEL 100
/* Operation not allowed because of active parametric model */
122
123
#define OL_EDELENT 101
/* Invalid use of deleted entity */
124
#define OL_EMODDEL 102
/* Attempted entmod of deleted entity */
125
#define OL_OLELENGTH 103
/* bindate of ole2frame bindata larger then defines */
126
127
/* If you add a new error code, be sure to increment this number */
128
129
#define MAX_OL_ERRNO 103
130
131
#endif
/* _fdterror_h */
132
133
/* end of file */
Generated on Mon Oct 12 2020 11:49:32