Warnings on vc14 were eliminated
[occt.git] / src / TNaming / TNaming_Evolution.hxx
1 // Created on: 1997-03-17
2 // Created by: Yves FRICAUD
3 // Copyright (c) 1997-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 _TNaming_Evolution_HeaderFile
18 #define _TNaming_Evolution_HeaderFile
19
20 //! Defines the type of evolution in old shape - new shape pairs.
21 //! The definitions - in the form of the terms of
22 //! the enumeration - are needed by the
23 //! TNaming_NamedShape attribute and
24 //! indicate what entities this attribute records as follows:
25 //! -   PRIMITIVE
26 //! -   New entities; in each pair, old shape is a
27 //! null shape and new shape is a created
28 //! entity.
29 //! -   GENERATED
30 //! -   Entities created from other entities; in
31 //! each pair, old shape is the generator and
32 //! new shape is the created entity.
33 //! -   MODIFY
34 //! -   Split or merged entities, in each pair, old
35 //! shape is the entity before the operation
36 //! and new shape is the new entity after the
37 //! operation.
38 //! -   DELETE
39 //! -   Deletion of entities; in each pair, old
40 //! shape is a deleted entity and new shape is null.
41 //! -   SELECTED
42 //! -   Named topological entities; in each pair,
43 //! the new shape is a named entity and the
44 //! old shape is not used.
45 //!
46 //! For a split which generates multiple faces, the
47 //! attribute will contain many pairs with the same
48 //! old shape; for a merge, it will contain many
49 //! pairs with the same new shape.
50 //! Finally, an example of delete would be a face
51 //! removed by a Boolean operation.
52 enum TNaming_Evolution
53 {
54 TNaming_PRIMITIVE,
55 TNaming_GENERATED,
56 TNaming_MODIFY,
57 TNaming_DELETE,
58 TNaming_REPLACE,
59 TNaming_SELECTED
60 };
61
62 #endif // _TNaming_Evolution_HeaderFile