0026007: Standard attribute for surface meshes in TDataStd
[occt.git] / src / BinMDataXtd / BinMDataXtd.hxx
1 // Created on: 2002-10-30
2 // Created by: Michael SAZONOV
3 // Copyright (c) 2002-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 _BinMDataXtd_HeaderFile
17 #define _BinMDataXtd_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
22
23 #include <Standard_Integer.hxx>
24 class BinMDF_ADriverTable;
25 class CDM_MessageDriver;
26 class BinMDataXtd_PointDriver;
27 class BinMDataXtd_AxisDriver;
28 class BinMDataXtd_PlaneDriver;
29 class BinMDataXtd_GeometryDriver;
30 class BinMDataXtd_ConstraintDriver;
31 class BinMDataXtd_PlacementDriver;
32 class BinMDataXtd_PatternStdDriver;
33 class BinMDataXtd_ShapeDriver;
34 class BinMDataXtd_TriangulationDriver;
35
36 //! Storage and Retrieval drivers for modelling attributes.
37 class BinMDataXtd 
38 {
39 public:
40
41   DEFINE_STANDARD_ALLOC
42
43   
44   //! Adds the attribute drivers to <theDriverTable>.
45   Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(CDM_MessageDriver)& aMsgDrv);
46   
47   Standard_EXPORT static void SetDocumentVersion (const Standard_Integer DocVersion);
48   
49   Standard_EXPORT static Standard_Integer DocumentVersion();
50
51
52
53
54 protected:
55
56
57
58
59
60 private:
61
62
63
64
65 friend class BinMDataXtd_PointDriver;
66 friend class BinMDataXtd_AxisDriver;
67 friend class BinMDataXtd_PlaneDriver;
68 friend class BinMDataXtd_GeometryDriver;
69 friend class BinMDataXtd_ConstraintDriver;
70 friend class BinMDataXtd_PlacementDriver;
71 friend class BinMDataXtd_PatternStdDriver;
72 friend class BinMDataXtd_ShapeDriver;
73 friend class BinMDataXtd_TriangulationDriver;
74
75 };
76
77
78
79
80
81
82
83 #endif // _BinMDataXtd_HeaderFile