1 // Created on: 2008-05-29
2 // Created by: Sergey ZARITCHNY
3 // Copyright (c) 2008-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _TDataXtd_HeaderFile
17 #define _TDataXtd_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
23 #include <TDF_IDList.hxx>
24 #include <Standard_OStream.hxx>
25 #include <TDataXtd_GeometryEnum.hxx>
26 #include <TDataXtd_ConstraintEnum.hxx>
28 //! This package defines extension of standard attributes for
29 //! modelling (mainly for work with geometry).
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);
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);
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);
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;
86 #endif // _TDataXtd_HeaderFile