Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:13

0001 // Created on: 1994-12-22
0002 // Created by: Christian CAILLET
0003 // Copyright (c) 1994-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepSelect_ModelModifier_HeaderFile
0018 #define _StepSelect_ModelModifier_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <IFSelect_Modifier.hxx>
0024 #include <Standard_Boolean.hxx>
0025 class StepData_StepModel;
0026 class StepData_Protocol;
0027 class IFSelect_ContextModif;
0028 class Interface_InterfaceModel;
0029 class Interface_Protocol;
0030 class Interface_CopyTool;
0031 
0032 
0033 class StepSelect_ModelModifier;
0034 DEFINE_STANDARD_HANDLE(StepSelect_ModelModifier, IFSelect_Modifier)
0035 
0036 
0037 class StepSelect_ModelModifier : public IFSelect_Modifier
0038 {
0039 
0040 public:
0041 
0042   
0043   //! The inherited Perform does the required cast (and refuses to
0044   //! go further if cast has failed) then calls the instantiated
0045   //! Performing
0046   Standard_EXPORT void Perform (IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target, const Handle(Interface_Protocol)& protocol, Interface_CopyTool& TC) const Standard_OVERRIDE;
0047   
0048   //! Specific Perform with Protocol. It is defined to let the
0049   //! Protocol unused and to call Performing without Protocol
0050   //! (most current case). It can be redefined if specific action
0051   //! requires Protocol.
0052   Standard_EXPORT virtual void PerformProtocol (IFSelect_ContextModif& ctx, const Handle(StepData_StepModel)& target, const Handle(StepData_Protocol)& proto, Interface_CopyTool& TC) const;
0053   
0054   //! Specific Perform, without Protocol. If Performing with
0055   //! Protocol is redefined, Performing without Protocol must
0056   //! though be defined to do nothing (not called, but demanded
0057   //! by the linker)
0058   Standard_EXPORT virtual void Performing (IFSelect_ContextModif& ctx, const Handle(StepData_StepModel)& target, Interface_CopyTool& TC) const = 0;
0059 
0060 
0061 
0062 
0063   DEFINE_STANDARD_RTTI_INLINE(StepSelect_ModelModifier,IFSelect_Modifier)
0064 
0065 protected:
0066 
0067   
0068   //! Calls inherited Initialize, transmits to it the information
0069   //! <maychangegraph>
0070   Standard_EXPORT StepSelect_ModelModifier(const Standard_Boolean maychangegraph);
0071 
0072 
0073 
0074 private:
0075 
0076 
0077 
0078 
0079 };
0080 
0081 
0082 
0083 
0084 
0085 
0086 
0087 #endif // _StepSelect_ModelModifier_HeaderFile