42cf5bc1 |
1 | // Created on: 1992-04-06 |
2 | // Created by: Christian CAILLET |
3 | // Copyright (c) 1992-1999 Matra Datavision |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
5 | // |
6 | // This file is part of Open CASCADE Technology software library. |
7 | // |
8 | // This library is free software; you can redistribute it and/or modify it under |
9 | // the terms of the GNU Lesser General Public License version 2.1 as published |
10 | // by the Free Software Foundation, with special exception defined in the file |
11 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | // distribution for complete text of the license and disclaimer of any warranty. |
13 | // |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
16 | |
17 | #ifndef _IGESData_DefType_HeaderFile |
18 | #define _IGESData_DefType_HeaderFile |
19 | |
20 | //! Some fields of an IGES entity may be |
21 | //! - Undefined |
22 | //! - Defined as a positive integer |
23 | //! - Defined as a reference to a specialized entity. |
24 | //! A typical example of this kind of variation is color. |
25 | //! This enumeration allows you to identify which of the above is the case. |
26 | //! The semantics of the terms are as follows: |
27 | //! - DefVoid indicates that the item contained in the field is undefined |
28 | //! - DefValue indicates that the item is defined as an immediate |
29 | //! positive integer value (i.e. not a pointer) |
30 | //! - DefReference indicates that the item is defined as an entity |
31 | //! - DefAny indicates the item could not be determined |
32 | //! - ErrorVal indicates that the item is defined as an integer |
33 | //! but its value is incorrect (it could be out of range, for example) |
34 | //! - ErrorRef indicates that the item is defined as an entity but |
35 | //! is not of the required type. |
36 | enum IGESData_DefType |
37 | { |
38 | IGESData_DefVoid, |
39 | IGESData_DefValue, |
40 | IGESData_DefReference, |
41 | IGESData_DefAny, |
42 | IGESData_ErrorVal, |
43 | IGESData_ErrorRef |
44 | }; |
45 | |
46 | #endif // _IGESData_DefType_HeaderFile |