| // Created on: 2003-06-04 | |
| // Created by: Galina KULIKOVA | |
| // Copyright (c) 2003-2014 OPEN CASCADE SAS | |
| // | |
| // This file is part of Open CASCADE Technology software library. | |
| // | |
| // This library is free software; you can redistribute it and/or modify it under | |
| // the terms of the GNU Lesser General Public License version 2.1 as published | |
| // by the Free Software Foundation, with special exception defined in the file | |
| // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT | |
| // distribution for complete text of the license and disclaimer of any warranty. | |
| // | |
| // Alternatively, this file may be used under the terms of Open CASCADE | |
| // commercial license or contractual agreement. | |
| #ifndef _StepDimTol_DatumReference_HeaderFile | |
| #define _StepDimTol_DatumReference_HeaderFile | |
| #include <Standard.hxx> | |
| #include <Standard_Type.hxx> | |
| #include <Standard_Integer.hxx> | |
| #include <Standard_Transient.hxx> | |
| class StepDimTol_Datum; | |
| //! Representation of STEP entity DatumReference | |
| class StepDimTol_DatumReference : public Standard_Transient | |
| { | |
| public: | |
| //! Empty constructor | |
| Standard_EXPORT StepDimTol_DatumReference(); | |
| //! Initialize all fields (own and inherited) | |
| Standard_EXPORT void Init(const int thePrecedence, | |
| const occ::handle<StepDimTol_Datum>& theReferencedDatum); | |
| //! Returns field Precedence | |
| Standard_EXPORT int Precedence() const; | |
| //! Set field Precedence | |
| Standard_EXPORT void SetPrecedence(const int thePrecedence); | |
| //! Returns field ReferencedDatum | |
| Standard_EXPORT occ::handle<StepDimTol_Datum> ReferencedDatum() const; | |
| //! Set field ReferencedDatum | |
| Standard_EXPORT void SetReferencedDatum(const occ::handle<StepDimTol_Datum>& theReferencedDatum); | |
| DEFINE_STANDARD_RTTIEXT(StepDimTol_DatumReference, Standard_Transient) | |
| private: | |
| int myPrecedence; | |
| occ::handle<StepDimTol_Datum> myReferencedDatum; | |
| }; | |
| #endif // _StepDimTol_DatumReference_HeaderFile |