Salome HOME
Migration to OpenCASCADE CMake configuration
[modules/geom.git] / src / GEOM / GEOM_Field.hxx
index 3380d2f3ff4246a6cbcaf37d628964b711329264..439035d2264a5e1b71bb0222ae86fe884b82f98a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -36,8 +36,6 @@ class GEOM_FieldStep;
 DEFINE_STANDARD_HANDLE( GEOM_Field, GEOM_BaseObject );
 DEFINE_STANDARD_HANDLE( GEOM_FieldStep, GEOM_BaseObject );
 
-
-
 class GEOM_Field : public GEOM_BaseObject
 {
   GEOM_Field(const TDF_Label& theLabel);
@@ -125,7 +123,7 @@ class GEOM_Field : public GEOM_BaseObject
   // Returns all steps
   Standard_EXPORT std::list< Handle(GEOM_FieldStep)> GetSteps();
 
-  DEFINE_STANDARD_RTTI( GEOM_Field );
+  DEFINE_STANDARD_RTTIEXT(GEOM_Field,GEOM_BaseObject)
 
 private:
 
@@ -187,9 +185,7 @@ public:
   // Returns GUID of CAF data array
   const Standard_GUID& GetDataID();
 
-
-
-  DEFINE_STANDARD_RTTI( GEOM_FieldStep );
+  DEFINE_STANDARD_RTTIEXT(GEOM_FieldStep,GEOM_BaseObject)
 
 private: