0031501: Foundation Classes, Message_Printer - remove theToPutEndl argument -- prepar...
[occt.git] / src / IGESDefs / IGESDefs_ToolAttributeDef.hxx
CommitLineData
42cf5bc1 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
5//
6// This file is part of Open CASCADE Technology software library.
7//
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.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _IGESDefs_ToolAttributeDef_HeaderFile
18#define _IGESDefs_ToolAttributeDef_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <Standard_Integer.hxx>
25class Standard_DomainError;
26class IGESDefs_AttributeDef;
27class IGESData_IGESReaderData;
28class IGESData_ParamReader;
29class IGESData_IGESWriter;
30class Interface_EntityIterator;
31class IGESData_DirChecker;
32class Interface_ShareTool;
33class Interface_Check;
34class Interface_CopyTool;
35class IGESData_IGESDumper;
42cf5bc1 36
37//! Tool to work on a AttributeDef. Called by various Modules
38//! (ReadWriteModule, GeneralModule, SpecificModule)
39class IGESDefs_ToolAttributeDef
40{
41public:
42
43 DEFINE_STANDARD_ALLOC
44
45
46 //! Returns a ToolAttributeDef, ready to work
47 Standard_EXPORT IGESDefs_ToolAttributeDef();
48
49 //! Reads own parameters from file. <PR> gives access to them,
50 //! <IR> detains parameter types and values
51 Standard_EXPORT void ReadOwnParams (const Handle(IGESDefs_AttributeDef)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
52
53 //! Writes own parameters to IGESWriter
54 Standard_EXPORT void WriteOwnParams (const Handle(IGESDefs_AttributeDef)& ent, IGESData_IGESWriter& IW) const;
55
56 //! Lists the Entities shared by a AttributeDef <ent>, from
57 //! its specific (own) parameters
58 Standard_EXPORT void OwnShared (const Handle(IGESDefs_AttributeDef)& ent, Interface_EntityIterator& iter) const;
59
60 //! Returns specific DirChecker
61 Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESDefs_AttributeDef)& ent) const;
62
63 //! Performs Specific Semantic Check
64 Standard_EXPORT void OwnCheck (const Handle(IGESDefs_AttributeDef)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
65
66 //! Copies Specific Parameters
67 Standard_EXPORT void OwnCopy (const Handle(IGESDefs_AttributeDef)& entfrom, const Handle(IGESDefs_AttributeDef)& entto, Interface_CopyTool& TC) const;
68
69 //! Dump of Specific Parameters
0ebe5b0a 70 Standard_EXPORT void OwnDump (const Handle(IGESDefs_AttributeDef)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
42cf5bc1 71
72
73
74
75protected:
76
77
78
79
80
81private:
82
83
84
85
86
87};
88
89
90
91
92
93
94
95#endif // _IGESDefs_ToolAttributeDef_HeaderFile