File indexing completed on 2025-01-18 10:05:35
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
0034 class XmlMNaming_Shape1
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041 Standard_EXPORT XmlMNaming_Shape1(XmlObjMgt_Document& Doc);
0042
0043 Standard_EXPORT XmlMNaming_Shape1(const XmlObjMgt_Element& E);
0044
0045
0046 Standard_EXPORT const XmlObjMgt_Element& Element() const;
0047
0048
0049 Standard_EXPORT XmlObjMgt_Element& Element();
0050
0051 Standard_EXPORT Standard_Integer TShapeId() const;
0052
0053 Standard_EXPORT Standard_Integer LocId() const;
0054
0055 Standard_EXPORT TopAbs_Orientation Orientation() const;
0056
0057 Standard_EXPORT void SetShape (const Standard_Integer ID, const Standard_Integer LocID, const TopAbs_Orientation Orient);
0058
0059 Standard_EXPORT void SetVertex (const TopoDS_Shape& theVertex);
0060
0061
0062
0063
0064 protected:
0065
0066
0067
0068
0069
0070 private:
0071
0072
0073
0074 XmlObjMgt_Element myElement;
0075 Standard_Integer myTShapeID;
0076 Standard_Integer myLocID;
0077 TopAbs_Orientation myOrientation;
0078
0079
0080 };
0081
0082
0083
0084
0085
0086
0087
0088 #endif