home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 15
/
BUGCD1998_06.ISO
/
aplic
/
felixcad
/
fcaddata.z
/
FDTERROR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-27
|
8KB
|
136 lines
/****************************************************************************
(C) FELIX Computer Aided Technologies GmbH 1995-96
Module: Definitions of error codes
File: fdterror.h
Author: R. Nuernberger
Created: Oct. 18, 1994
Changed:
****************************************************************************/
#ifndef _fdterror_h
#ifdef __cplusplus
extern "C" {
#endif
/* Byte Alignment 2 */
#pragma pack(2)
#define OL_GOOD 0 /* Everything is OK */
#define OL_ESNVALID 1 /* Invalid table name */
#define OL_ENAMEVALID 2 /* Invalid name of entity or selection set */
#define OL_ESSVALID 3 /* Invalid selection set */
#define OL_ENTSELPICK 4 /* No entity selected (failed pick) */
#define OL_EEOEF 5 /* End of entity definition */
#define OL_EEOBD 6 /* End of blockdefinition */
#define OL_EEMPDB 7 /* entlast failed */
#define OL_EHANDLE 8 /* Invalid handle */
#define OL_ETBLNAME 9 /* Invalid table name */
#define OL_ETBLARG 10 /* Invalid argument in table function */
#define OL_ERDONLY 11 /* Attempt to set read only variable */
#define OL_ENONZERO 12 /* Invalid value (zero) */
#define OL_ERANGE 13 /* Value out of range */
#define OL_EMMTYPE 14 /* Attempt to change entity type */
#define OL_EMMLAY 15 /* Invalid layer name */
#define OL_EMMLT 16 /* Invalid linetype name */
#define OL_EMMCOLOR 17 /* Invalid color name */
#define OL_EMMSTYLE 18 /* Invalid text style name */
#define OL_EMODSEQ 19 /* Attempt to entmod SEQEND */
#define OL_EMODHAND 20 /* Attempt to change handle */
#define OL_EMMLL 21 /* Entity on locked layer */
#define OL_EMKTYPE 22 /* Invalid entity type */
#define OL_EMKPLINE 23 /* Invalid POLYLINE entity */
#define OL_EMKBNAME 24 /* Invalid block name field */
#define OL_EMKDBNAME 25 /* Duplicate block name fields */
#define OL_EMKNOBNM 26 /* Missing block name */
#define OL_EMKNOBFLG 27 /* Missing block flags */
#define OL_EMKANON 28 /* Invalid anonymous block */
#define OL_EMKBLOCK 29 /* Invalid block definition entity */
#define OL_EMKMANDF 30 /* Manditory field missing */
#define OL_EMMXDTYPE 31 /* Unrecognized extended data type */
#define OL_EMMXDNEST 32 /* Invalid nesting of list in xdata */
#define OL_EMMXDAPPID 33 /* Invalid location of APPID field */
#define OL_ENTSELNULL 34 /* Entity selection (null response) */
#define OL_EMXDAPPID 35 /* entmod/entmake with duplicate appid */
#define OL_EFLTR1 36 /* Invalid fdt_ssget filter: premature end */
#define OL_EFLTR2 37 /* " missing test operand */
#define OL_EFLTR3 38 /* " invalid opcode string */
#define OL_EFLTR4 39 /* " void clause/bad nesting */
#define OL_EFLTR5 40 /* " beg/end clause mismatch */
#define OL_EFLTR6 41 /* " wrong # of XOR/NOT args */
#define OL_EFLTR7 42 /* " max nesting exceeded */
#define OL_EFLTR8 43 /* " invalid group code */
#define OL_EFLTR9 44 /* " invalid string test */
#define OL_EFLTR10 45 /* " invalid vector test */
#define OL_EFLTR11 46 /* " invliad real test */
#define OL_EFLTR12 47 /* " invalid integer test */
#define OL_EOPEN 48 /* Open file failed */
#define OL_ELOADED 49 /* Application is already loaded */
#define OL_EEXEC 50 /* Unable to execute the application */
#define OL_ENOTLOADED 51 /* Application is not loaded */
#define OL_ENOMEM 52 /* Out of memory */
#define OL_EXFMVALID 53 /* Invalid transformation matrix */
#define OL_ESYMNAM 54 /* Invalid symbol name */
#define OL_ESYMVAL 55 /* Invalid symbol value */
#define OL_NONDIALOG 56 /* Not allowed when dialog open */
#define OL_FNOTFOUND 57 /* File not found */
#define OL_NOFREEDB 58 /* No free database */
#define OL_CREAWIN 59 /* Error creating window */
#define OL_INVNAME 60 /* Invalid name */
#define OL_FALOPEN 61 /* File already open */
#define OL_CMD 62 /* Error in fdt_command(), fdt_cmd() */
#define OL_FLOCKED 63 /* File locked */
#define OL_READFLX 64 /* Error reading FLX file */
#define OL_SAVEFLX 65 /* Error saving FLX file */
#define OL_FNOOPEN 66 /* No file open */
#define OL_FRO 67 /* File opened is Read-Only */
#define OL_CRBAK 68 /* Error creating BAK file */
#define OL_DBNR 69 /* Invalid db-number */
#define OL_FLXEXIST 70 /* File exists */
#define OL_NOFLXNAME 71 /* Drawing exists without name (created with fdt_flxnew()) */
#define OL_INVMODE 72 /* Invalid mode in fdt_ssget()/fdt_osnap() */
#define OL_INTERROR 73 /* Internal error */
#define OL_DBNOPEN 74 /* No database opened */
#define OL_BLCODE 75 /* Invalid result type code in fdt_buildlist() */
#define OL_ENTCREATE 76 /* Error during insert an entity into database */
#define OL_TBLEXIST 77 /* Table entry already exists (fdt_tblmake()) */
#define OL_ENTNOTEX 78 /* Entry does not exist */
#define OL_DASHLEN 79 /* Incorrect dash length */
#define OL_MAX1004 80 /* Chunk lenght graeter then 127 */
#define OL_VPORTID 81 /* Missing vport-ID (fdt_tblmod(),fdt_tblmake()) */
#define OL_AMODVID 82 /* Attempt to modify vport-ID */
#define OL_AMODC70 83 /* Attempt to modify dxf-code 70 */
#define OL_AFRICLAY 84 /* Attempt to freeze active layer */
#define OL_INVDIR 85 /* Incorrect direction in VPORT_TBL */
#define OL_DBEMPTY 86 /* Database contains no entity */
#define OL_ARENEBAS 87 /* Attempt to modify current table entry */
#define OL_EINDEX 88 /* Invalid index in fdt_ssname() */
#define OL_FILEOPEN 89 /* Error during file open */
#define OL_TBLEMPTY 90 /* Table contains no entry */
#define OL_TBLREF 91 /* Table entry is referenced */
#define OL_DRAGEXIST 92 /* Dragfunktion always installed */
#define OL_OUTSIDE 93 /* structur to complex or point outside entities (fdt_pcontur) */
#define OL_HOOK 94 /* Entity was rejected by hook-function (fdt_ssadd()) */
#define OL_RECURSIV 95 /* Recursive call of a hook-function */
#define OL_SPACE 96 /* paperspace is active */
#define OL_PARAM 97 /* invalid parameter */
#define OL_XREF 98 /* locked by xref */
/* If you add a new error code, be sure to increment this number */
#define MAX_OL_ERRNO 97
/* Reset Byte Alignment */
#pragma pack()
#ifdef __cplusplus
}
#endif
#define _fdterror_h
#endif
/* end of file */