home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / felixcad / fcaddata.z / FDTERROR.H < prev    next >
C/C++ Source or Header  |  1997-05-27  |  8KB  |  136 lines

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