1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/src/IGESSelect/IGESSelect_ModelModifier.hxx
dpasukhi a5a7b3185b Coding - Apply .clang-format formatting #286
Update empty method guards to new style with regex (see PR).
Used clang-format 18.1.8.
New actions to validate code formatting is added.
Update .clang-format with disabling of include sorting.
  It is temporary changes, then include will be sorted.
Apply formatting for /src and /tools folder.
The files with .hxx,.cxx,.lxx,.h,.pxx,.hpp,*.cpp extensions.
2025-01-26 00:43:57 +00:00

74 lines
3.0 KiB
C++

// Created on: 1994-05-31
// Created by: Christian CAILLET
// Copyright (c) 1994-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _IGESSelect_ModelModifier_HeaderFile
#define _IGESSelect_ModelModifier_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IFSelect_Modifier.hxx>
class IGESData_IGESModel;
class IGESData_Protocol;
class IFSelect_ContextModif;
class Interface_InterfaceModel;
class Interface_Protocol;
class Interface_CopyTool;
class IGESSelect_ModelModifier;
DEFINE_STANDARD_HANDLE(IGESSelect_ModelModifier, IFSelect_Modifier)
class IGESSelect_ModelModifier : public IFSelect_Modifier
{
public:
//! The inherited Perform does the required cast (and refuses to
//! go further if cast has failed) then calls the instantiated
//! Performing
Standard_EXPORT void Perform(IFSelect_ContextModif& ctx,
const Handle(Interface_InterfaceModel)& target,
const Handle(Interface_Protocol)& protocol,
Interface_CopyTool& TC) const Standard_OVERRIDE;
//! Specific Perform with Protocol. It is defined to let the
//! Protocol unused and to call Performing without Protocol
//! (most current case). It can be redefined if specific action
//! requires Protocol.
Standard_EXPORT virtual void PerformProtocol(IFSelect_ContextModif& ctx,
const Handle(IGESData_IGESModel)& target,
const Handle(IGESData_Protocol)& proto,
Interface_CopyTool& TC) const;
//! Specific Perform, without Protocol. If Performing with
//! Protocol is redefined, Performing without Protocol must
//! though be defined to do nothing (not called, but demanded
//! by the linker)
Standard_EXPORT virtual void Performing(IFSelect_ContextModif& ctx,
const Handle(IGESData_IGESModel)& target,
Interface_CopyTool& TC) const = 0;
DEFINE_STANDARD_RTTI_INLINE(IGESSelect_ModelModifier, IFSelect_Modifier)
protected:
//! Calls inherited Initialize, transmits to it the information
//! <maychangegraph>
Standard_EXPORT IGESSelect_ModelModifier(const Standard_Boolean maychangegraph);
private:
};
#endif // _IGESSelect_ModelModifier_HeaderFile