// Created on: 1993-09-07 // 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 _IGESBasic_SpecificModule_HeaderFile #define _IGESBasic_SpecificModule_HeaderFile #include "Standard.hxx" #include "Standard_Type.hxx" #include "IGESData_SpecificModule.hxx" #include "Standard_Integer.hxx" class IGESData_IGESEntity; class IGESData_IGESDumper; //! Defines Services attached to IGES Entities : //! Dump & OwnCorrect, for IGESBasic class IGESBasic_SpecificModule : public IGESData_SpecificModule { public: //! Creates a SpecificModule from IGESBasic & puts it into SpecificLib Standard_EXPORT IGESBasic_SpecificModule(); //! Specific Dump (own parameters) for IGESBasic Standard_EXPORT void OwnDump(const int CN, const occ::handle& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const int own) const override; //! Performs non-ambiguous Corrections on Entities which support //! them (AssocGroupType,Hierarchy,Name,SingleParent) Standard_EXPORT bool OwnCorrect(const int CN, const occ::handle& ent) const override; DEFINE_STANDARD_RTTIEXT(IGESBasic_SpecificModule, IGESData_SpecificModule) }; #endif // _IGESBasic_SpecificModule_HeaderFile