1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/src/IGESDimen/IGESDimen_GeneralModule.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

88 lines
3.7 KiB
C++

// Created on: 1993-05-10
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESDimen_GeneralModule_HeaderFile
#define _IGESDimen_GeneralModule_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_GeneralModule.hxx>
#include <Standard_Integer.hxx>
class IGESData_IGESEntity;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Standard_Transient;
class Interface_CopyTool;
class IGESDimen_GeneralModule;
DEFINE_STANDARD_HANDLE(IGESDimen_GeneralModule, IGESData_GeneralModule)
//! Definition of General Services for IGESDimen (specific part)
//! This Services comprise : Shared & Implied Lists, Copy, Check
class IGESDimen_GeneralModule : public IGESData_GeneralModule
{
public:
//! Creates a GeneralModule from IGESDimen and puts it into GeneralLib
Standard_EXPORT IGESDimen_GeneralModule();
//! Lists the Entities shared by a given IGESEntity <ent>, from
//! its specific parameters : specific for each type
Standard_EXPORT void OwnSharedCase(const Standard_Integer CN,
const Handle(IGESData_IGESEntity)& ent,
Interface_EntityIterator& iter) const Standard_OVERRIDE;
//! Returns a DirChecker, specific for each type of Entity
//! (identified by its Case Number) : this DirChecker defines
//! constraints which must be respected by the DirectoryPart
Standard_EXPORT IGESData_DirChecker
DirChecker(const Standard_Integer CN,
const Handle(IGESData_IGESEntity)& ent) const Standard_OVERRIDE;
//! Performs Specific Semantic Check for each type of Entity
Standard_EXPORT void OwnCheckCase(const Standard_Integer CN,
const Handle(IGESData_IGESEntity)& ent,
const Interface_ShareTool& shares,
Handle(Interface_Check)& ach) const Standard_OVERRIDE;
//! Specific creation of a new void entity
Standard_EXPORT Standard_Boolean
NewVoid(const Standard_Integer CN, Handle(Standard_Transient)& entto) const Standard_OVERRIDE;
//! Copies parameters which are specific of each Type of Entity
Standard_EXPORT void OwnCopyCase(const Standard_Integer CN,
const Handle(IGESData_IGESEntity)& entfrom,
const Handle(IGESData_IGESEntity)& entto,
Interface_CopyTool& TC) const Standard_OVERRIDE;
//! Returns a category number which characterizes an entity
//! Drawing for all
Standard_EXPORT virtual Standard_Integer CategoryNumber(const Standard_Integer CN,
const Handle(Standard_Transient)& ent,
const Interface_ShareTool& shares) const
Standard_OVERRIDE;
DEFINE_STANDARD_RTTIEXT(IGESDimen_GeneralModule, IGESData_GeneralModule)
protected:
private:
};
#endif // _IGESDimen_GeneralModule_HeaderFile