Salome HOME
bos #29484 Merge branch 'vsr/29484'
[modules/geom.git] / src / OBJECT / GEOM_AISDimension.hxx
old mode 100755 (executable)
new mode 100644 (file)
index e85fe5e..5a0c9e1
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  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
@@ -42,7 +42,8 @@ DEFINE_STANDARD_HANDLE(GEOM_AISAngle,    AIS_AngleDimension)
 class GEOM_AISLength : public AIS_LengthDimension
 {
 public:
-  DEFINE_STANDARD_RTTI(GEOM_AISLength)
+
+  DEFINE_STANDARD_RTTIEXT(GEOM_AISLength,AIS_LengthDimension)
 
 public:
   Standard_EXPORT                    GEOM_AISLength( const Standard_Integer theId );
@@ -60,7 +61,8 @@ private:
 class GEOM_AISDiameter : public AIS_DiameterDimension
 {
 public:
-  DEFINE_STANDARD_RTTI(GEOM_AISDiameter)
+
+  DEFINE_STANDARD_RTTIEXT(GEOM_AISDiameter,AIS_DiameterDimension)
 
 public:
   Standard_EXPORT                     GEOM_AISDiameter( const Standard_Integer theId );
@@ -78,7 +80,8 @@ private:
 class GEOM_AISAngle : public AIS_AngleDimension
 {
 public:
-  DEFINE_STANDARD_RTTI(GEOM_AISAngle)
+
+  DEFINE_STANDARD_RTTIEXT(GEOM_AISAngle,AIS_AngleDimension)
 
 public:
   Standard_EXPORT                     GEOM_AISAngle( const Standard_Integer theId );