Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:20

0001 // Created on: 2008-05-29
0002 // Created by: Sergey ZARITCHNY
0003 // Copyright (c) 2008-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _TDataXtd_HeaderFile
0017 #define _TDataXtd_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022 
0023 #include <TDF_IDList.hxx>
0024 #include <Standard_OStream.hxx>
0025 #include <TDataXtd_GeometryEnum.hxx>
0026 #include <TDataXtd_ConstraintEnum.hxx>
0027 
0028 //! This  package  defines  extension of standard attributes for
0029 //! modelling  (mainly for work with geometry).
0030 class TDataXtd 
0031 {
0032 public:
0033 
0034   DEFINE_STANDARD_ALLOC
0035 
0036   
0037   //! Appends to <anIDList> the list of the attributes
0038   //! IDs of this package. CAUTION: <anIDList> is NOT
0039   //! cleared before use.
0040   //! Print of TDataExt enumeration
0041   //! =============================
0042   Standard_EXPORT static void IDList (TDF_IDList& anIDList);
0043   
0044   //! Prints the name of the geometry dimension <GEO> as a String on
0045   //! the Stream <S> and returns <S>.
0046   Standard_EXPORT static Standard_OStream& Print (const TDataXtd_GeometryEnum GEO, Standard_OStream& S);
0047   
0048   //! Prints the name of the constraint <CTR> as a String on
0049   //! the Stream <S> and returns <S>.
0050   Standard_EXPORT static Standard_OStream& Print (const TDataXtd_ConstraintEnum CTR, Standard_OStream& S);
0051 
0052 
0053 
0054 
0055 protected:
0056 
0057 
0058 
0059 
0060 
0061 private:
0062 
0063 
0064 
0065 
0066 friend class TDataXtd_Position;
0067 friend class TDataXtd_Constraint;
0068 friend class TDataXtd_Placement;
0069 friend class TDataXtd_Geometry;
0070 friend class TDataXtd_Point;
0071 friend class TDataXtd_Axis;
0072 friend class TDataXtd_Plane;
0073 friend class TDataXtd_Pattern;
0074 friend class TDataXtd_PatternStd;
0075 friend class TDataXtd_Shape;
0076 friend class TDataXtd_Triangulation;
0077 
0078 };
0079 
0080 
0081 
0082 
0083 
0084 
0085 
0086 #endif // _TDataXtd_HeaderFile