Salome HOME
Merge from V6_5_BR 05/06/2012
[modules/smesh.git] / src / SMESHDS / SMESHDS_GroupOnFilter.hxx
index 805378704f69c741b505fb5d53bc36cf2cdfa0cc..b1e33e5fc7ba4a9065bbdf074d9ec3df3f115f8f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  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
@@ -46,7 +46,7 @@ class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
 
   SMESH_PredicatePtr GetPredicate() const { return myPredicate; }
 
-  virtual int Extent();
+  virtual int Extent() const;
 
   virtual bool Contains (const int theID);
 
@@ -56,6 +56,10 @@ class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
 
   virtual int GetID (const int theIndex);
 
+  virtual int GetTic() const;
+
+  bool IsUpToDate() const;
+
  private:
 
   void update() const;
@@ -64,6 +68,7 @@ class SMESHDS_EXPORT SMESHDS_GroupOnFilter: public SMESHDS_GroupBase
   SMESH_PredicatePtr                    myPredicate;
   std::vector< const SMDS_MeshElement*> myElements;
   unsigned long                         myMeshModifTime; // when myElements was filled
+  int                                   myPredicateTic;
 };
 
 #endif