X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_ShapesGroup.h;h=71c4c4be0b2a43ab65db25755cabaef5aef9ec82;hb=6bcda532ec67940d5c53e70df3b7912a09208c1c;hp=69ac557e2d072af2e8a513979fb708b52f460628;hpb=35fd8f966ba5a86e7fb447bcc5133f77ae25fad1;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ShapesGroup.h b/src/HYDROData/HYDROData_ShapesGroup.h index 69ac557e..71c4c4be 100644 --- a/src/HYDROData/HYDROData_ShapesGroup.h +++ b/src/HYDROData/HYDROData_ShapesGroup.h @@ -1,19 +1,33 @@ +// Copyright (C) 2014-2015 EDF-R&D +// 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, 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 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef HYDROData_ShapesGroup_HeaderFile #define HYDROData_ShapesGroup_HeaderFile #include - #include - +#include #include class TopoDS_Shape; -class TopTools_ListOfShape; class BRepBuilderAPI_MakeShape; class ShapeUpgrade_UnifySameDomain; - -DEFINE_STANDARD_HANDLE(HYDROData_ShapesGroup, HYDROData_Entity) +class BRepTools_ReShape; /**\class HYDROData_ShapesGroup * \brief Class that stores/retreives the sequence of shapes. @@ -32,6 +46,10 @@ public: static void Update( NCollection_Sequence* theGroupsDefs, ShapeUpgrade_UnifySameDomain* theAlgo ); + static void Update( NCollection_Sequence* theGroupsDefs, + BRepTools_ReShape* theAlgo ); + + void Dump( std::ostream& theStream ) const; static void Dump( std::ostream& theStream, @@ -53,7 +71,7 @@ protected: }; public: - DEFINE_STANDARD_RTTI(HYDROData_ShapesGroup); + DEFINE_STANDARD_RTTIEXT(HYDROData_ShapesGroup, HYDROData_Entity); /** * Returns the kind of this object. Must be redefined in all objects of known type.