-#include <IGESGeom_Protocol.ixx>
+// Copyright (c) 1999-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.
-#include <IGESGeom_BSplineCurve.hxx>
-#include <IGESGeom_BSplineSurface.hxx>
+
+#include <IGESBasic.hxx>
+#include <IGESBasic_Protocol.hxx>
#include <IGESGeom_Boundary.hxx>
#include <IGESGeom_BoundedSurface.hxx>
+#include <IGESGeom_BSplineCurve.hxx>
+#include <IGESGeom_BSplineSurface.hxx>
#include <IGESGeom_CircularArc.hxx>
#include <IGESGeom_CompositeCurve.hxx>
#include <IGESGeom_ConicArc.hxx>
#include <IGESGeom_OffsetSurface.hxx>
#include <IGESGeom_Plane.hxx>
#include <IGESGeom_Point.hxx>
+#include <IGESGeom_Protocol.hxx>
#include <IGESGeom_RuledSurface.hxx>
#include <IGESGeom_SplineCurve.hxx>
#include <IGESGeom_SplineSurface.hxx>
#include <IGESGeom_TabulatedCylinder.hxx>
#include <IGESGeom_TransformationMatrix.hxx>
#include <IGESGeom_TrimmedSurface.hxx>
+#include <Interface_Protocol.hxx>
+#include <Standard_Type.hxx>
-#include <IGESBasic.hxx>
-#include <IGESBasic_Protocol.hxx>
+IMPLEMENT_STANDARD_RTTIEXT(IGESGeom_Protocol,IGESData_Protocol)
-static int deja = 0;
+static int THE_IGESGeom_Protocol_deja = 0;
static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06,
atype07,atype08,atype09,atype10,atype11,atype12,atype13,atype14,atype15,
atype16,atype17,atype18,atype19,atype20,atype21,atype22,atype23;
- IGESGeom_Protocol::IGESGeom_Protocol ()
+IGESGeom_Protocol::IGESGeom_Protocol()
{
- if (deja) return; deja = 1;
+ if (THE_IGESGeom_Protocol_deja)
+ {
+ return;
+ }
+ THE_IGESGeom_Protocol_deja = 1;
atype01 = STANDARD_TYPE(IGESGeom_BSplineCurve);
atype02 = STANDARD_TYPE(IGESGeom_BSplineSurface);
atype03 = STANDARD_TYPE(IGESGeom_Boundary);
{ return 1; }
Handle(Interface_Protocol) IGESGeom_Protocol::Resource
- (const Standard_Integer num) const
+ (const Standard_Integer /*num*/) const
{
Handle(Interface_Protocol) res = IGESBasic::Protocol();;
return res;