0027532: Errors on reading stp-file
[occt.git] / src / StepData / StepData_Described.cxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14
15 #include <Interface_Check.hxx>
16 #include <Interface_EntityIterator.hxx>
17 #include <Interface_InterfaceMismatch.hxx>
18 #include <Standard_Type.hxx>
19 #include <StepData_Described.hxx>
20 #include <StepData_EDescr.hxx>
21 #include <StepData_Field.hxx>
22 #include <StepData_Simple.hxx>
23
24 IMPLEMENT_STANDARD_RTTIEXT(StepData_Described,MMgt_TShared)
25
26 StepData_Described::StepData_Described  (const Handle(StepData_EDescr)& descr)
27 : thedescr (descr)    {  }
28
29 Handle(StepData_EDescr)  StepData_Described::Description () const
30 {  return thedescr;  }