File indexing completed on 2026-09-15 09:17:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _XmlMNaming_Shape1_HeaderFile
0017 #define _XmlMNaming_Shape1_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021
0022 #include <XmlObjMgt_Element.hxx>
0023 #include <TopAbs_Orientation.hxx>
0024 #include <XmlObjMgt_Document.hxx>
0025 class TopoDS_Shape;
0026
0027
0028
0029
0030
0031
0032
0033 class XmlMNaming_Shape1
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038 Standard_EXPORT XmlMNaming_Shape1(XmlObjMgt_Document& Doc);
0039
0040 Standard_EXPORT XmlMNaming_Shape1(const XmlObjMgt_Element& E);
0041
0042
0043 Standard_EXPORT const XmlObjMgt_Element& Element() const;
0044
0045
0046 Standard_EXPORT XmlObjMgt_Element& Element();
0047
0048 Standard_EXPORT int TShapeId() const;
0049
0050 Standard_EXPORT int LocId() const;
0051
0052 Standard_EXPORT TopAbs_Orientation Orientation() const;
0053
0054 Standard_EXPORT void SetShape(const int ID, const int LocID, const TopAbs_Orientation Orient);
0055
0056 Standard_EXPORT void SetVertex(const TopoDS_Shape& theVertex);
0057
0058 private:
0059 XmlObjMgt_Element myElement;
0060 int myTShapeID;
0061 int myLocID;
0062 TopAbs_Orientation myOrientation;
0063 };
0064
0065 #endif