0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / StepSelect / StepSelect_ModelModifier.hxx
1 // Created on: 1994-12-22
2 // Created by: Christian CAILLET
3 // Copyright (c) 1994-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 _StepSelect_ModelModifier_HeaderFile
18 #define _StepSelect_ModelModifier_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22
23 #include <IFSelect_Modifier.hxx>
24 #include <Standard_Boolean.hxx>
25 class StepData_StepModel;
26 class StepData_Protocol;
27 class IFSelect_ContextModif;
28 class Interface_InterfaceModel;
29 class Interface_Protocol;
30 class Interface_CopyTool;
31
32
33 class StepSelect_ModelModifier;
34 DEFINE_STANDARD_HANDLE(StepSelect_ModelModifier, IFSelect_Modifier)
35
36
37 class StepSelect_ModelModifier : public IFSelect_Modifier
38 {
39
40 public:
41
42   
43   //! The inherited Perform does the required cast (and refuses to
44   //! go further if cast has failed) then calls the instantiated
45   //! Performing
46   Standard_EXPORT void Perform (IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target, const Handle(Interface_Protocol)& protocol, Interface_CopyTool& TC) const Standard_OVERRIDE;
47   
48   //! Specific Perform with Protocol. It is defined to let the
49   //! Protocol unused and to call Performing without Protocol
50   //! (most current case). It can be redefined if specific action
51   //! requires Protocol.
52   Standard_EXPORT virtual void PerformProtocol (IFSelect_ContextModif& ctx, const Handle(StepData_StepModel)& target, const Handle(StepData_Protocol)& proto, Interface_CopyTool& TC) const;
53   
54   //! Specific Perform, without Protocol. If Performing with
55   //! Protocol is redefined, Performing without Protocol must
56   //! though be defined to do nothing (not called, but demanded
57   //! by the linker)
58   Standard_EXPORT virtual void Performing (IFSelect_ContextModif& ctx, const Handle(StepData_StepModel)& target, Interface_CopyTool& TC) const = 0;
59
60
61
62
63   DEFINE_STANDARD_RTTI_INLINE(StepSelect_ModelModifier,IFSelect_Modifier)
64
65 protected:
66
67   
68   //! Calls inherited Initialize, transmits to it the information
69   //! <maychangegraph>
70   Standard_EXPORT StepSelect_ModelModifier(const Standard_Boolean maychangegraph);
71
72
73
74 private:
75
76
77
78
79 };
80
81
82
83
84
85
86
87 #endif // _StepSelect_ModelModifier_HeaderFile