1 // Created on: 1993-10-14
2 // Created by: Christian CAILLET
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _IGESDraw_ToolSegmentedViewsVisible_HeaderFile
18 #define _IGESDraw_ToolSegmentedViewsVisible_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <Standard_Integer.hxx>
25 class Standard_DomainError;
26 class IGESDraw_SegmentedViewsVisible;
27 class IGESData_IGESReaderData;
28 class IGESData_ParamReader;
29 class IGESData_IGESWriter;
30 class Interface_EntityIterator;
31 class IGESData_DirChecker;
32 class Interface_ShareTool;
33 class Interface_Check;
34 class Interface_CopyTool;
35 class IGESData_IGESDumper;
36 class Message_Messenger;
39 //! Tool to work on a SegmentedViewsVisible. Called by various Modules
40 //! (ReadWriteModule, GeneralModule, SpecificModule)
41 class IGESDraw_ToolSegmentedViewsVisible
48 //! Returns a ToolSegmentedViewsVisible, ready to work
49 Standard_EXPORT IGESDraw_ToolSegmentedViewsVisible();
51 //! Reads own parameters from file. <PR> gives access to them,
52 //! <IR> detains parameter types and values
53 Standard_EXPORT void ReadOwnParams (const Handle(IGESDraw_SegmentedViewsVisible)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
55 //! Writes own parameters to IGESWriter
56 Standard_EXPORT void WriteOwnParams (const Handle(IGESDraw_SegmentedViewsVisible)& ent, IGESData_IGESWriter& IW) const;
58 //! Lists the Entities shared by a SegmentedViewsVisible <ent>, from
59 //! its specific (own) parameters
60 Standard_EXPORT void OwnShared (const Handle(IGESDraw_SegmentedViewsVisible)& ent, Interface_EntityIterator& iter) const;
62 //! Returns specific DirChecker
63 Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESDraw_SegmentedViewsVisible)& ent) const;
65 //! Performs Specific Semantic Check
66 Standard_EXPORT void OwnCheck (const Handle(IGESDraw_SegmentedViewsVisible)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
68 //! Copies Specific Parameters
69 Standard_EXPORT void OwnCopy (const Handle(IGESDraw_SegmentedViewsVisible)& entfrom, const Handle(IGESDraw_SegmentedViewsVisible)& entto, Interface_CopyTool& TC) const;
71 //! Dump of Specific Parameters
72 Standard_EXPORT void OwnDump (const Handle(IGESDraw_SegmentedViewsVisible)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
97 #endif // _IGESDraw_ToolSegmentedViewsVisible_HeaderFile