0032696: Coding - get rid of unused forward declarations [StepSelect to Xw]
[occt.git] / src / TDataXtd / TDataXtd.hxx
1 // Created on: 2008-05-29
2 // Created by: Sergey ZARITCHNY
3 // Copyright (c) 2008-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _TDataXtd_HeaderFile
17 #define _TDataXtd_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
22
23 #include <TDF_IDList.hxx>
24 #include <Standard_OStream.hxx>
25 #include <TDataXtd_GeometryEnum.hxx>
26 #include <TDataXtd_ConstraintEnum.hxx>
27
28 //! This  package  defines  extension of standard attributes for
29 //! modelling  (mainly for work with geometry).
30 class TDataXtd 
31 {
32 public:
33
34   DEFINE_STANDARD_ALLOC
35
36   
37   //! Appends to <anIDList> the list of the attributes
38   //! IDs of this package. CAUTION: <anIDList> is NOT
39   //! cleared before use.
40   //! Print of TDataExt enumeration
41   //! =============================
42   Standard_EXPORT static void IDList (TDF_IDList& anIDList);
43   
44   //! Prints the name of the geometry dimension <GEO> as a String on
45   //! the Stream <S> and returns <S>.
46   Standard_EXPORT static Standard_OStream& Print (const TDataXtd_GeometryEnum GEO, Standard_OStream& S);
47   
48   //! Prints the name of the constraint <CTR> as a String on
49   //! the Stream <S> and returns <S>.
50   Standard_EXPORT static Standard_OStream& Print (const TDataXtd_ConstraintEnum CTR, Standard_OStream& S);
51
52
53
54
55 protected:
56
57
58
59
60
61 private:
62
63
64
65
66 friend class TDataXtd_Position;
67 friend class TDataXtd_Constraint;
68 friend class TDataXtd_Placement;
69 friend class TDataXtd_Geometry;
70 friend class TDataXtd_Point;
71 friend class TDataXtd_Axis;
72 friend class TDataXtd_Plane;
73 friend class TDataXtd_Pattern;
74 friend class TDataXtd_PatternStd;
75 friend class TDataXtd_Shape;
76 friend class TDataXtd_Triangulation;
77
78 };
79
80
81
82
83
84
85
86 #endif // _TDataXtd_HeaderFile