Warning, file /include/opencascade/XCAFDoc_Location.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _XCAFDoc_Location_HeaderFile
0017 #define _XCAFDoc_Location_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <TopLoc_Location.hxx>
0022 #include <TDF_Attribute.hxx>
0023 class Standard_GUID;
0024 class TDF_Label;
0025 class TDF_RelocationTable;
0026
0027
0028 class XCAFDoc_Location : public TDF_Attribute
0029 {
0030
0031 public:
0032
0033
0034 Standard_EXPORT XCAFDoc_Location();
0035
0036 Standard_EXPORT static const Standard_GUID& GetID();
0037
0038
0039
0040
0041
0042 Standard_EXPORT static occ::handle<XCAFDoc_Location> Set(const TDF_Label& label,
0043 const TopLoc_Location& Loc);
0044
0045 Standard_EXPORT void Set(const TopLoc_Location& Loc);
0046
0047
0048 Standard_EXPORT const TopLoc_Location& Get() const;
0049
0050 Standard_EXPORT const Standard_GUID& ID() const override;
0051
0052 Standard_EXPORT void Restore(const occ::handle<TDF_Attribute>& With) override;
0053
0054 Standard_EXPORT occ::handle<TDF_Attribute> NewEmpty() const override;
0055
0056 Standard_EXPORT void Paste(const occ::handle<TDF_Attribute>& Into,
0057 const occ::handle<TDF_RelocationTable>& RT) const override;
0058
0059
0060 Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override;
0061
0062 DEFINE_STANDARD_RTTIEXT(XCAFDoc_Location, TDF_Attribute)
0063
0064 private:
0065 TopLoc_Location myLocation;
0066 };
0067
0068 #endif