]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/DriverGMF/DriverGMF_Write.hxx
Salome HOME
0022134: DriverGMF : reading quadratic meshes
[modules/smesh.git] / src / DriverGMF / DriverGMF_Write.hxx
index fd0918d09ef2ccabcf13e596b3117799f0d36916..b66b3d946ba7f759cfa656d7df28fb03c6d16c49 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "Driver_SMESHDS_Mesh.h"
 #include "SMDSAbs_ElementType.hxx"
+#include "SMDS_ElemIterator.hxx"
 
 /*!
  * \brief Driver Writing a mesh into a GMF file.
@@ -42,18 +43,20 @@ public:
   DriverGMF_Write();
   ~DriverGMF_Write();
 
+  void SetExportRequiredGroups( bool toExport )
+  {
+    _exportRequiredGroups = toExport;
+  }
+
   virtual Status Perform();
-};
 
-/*!
- * \brief An object closing GMF mesh at destruction
- */
-struct DriverGMF_MeshCloser
-{
-  int _gmfMeshID;
-  DriverGMF_MeshCloser( const int gmfMeshID ): _gmfMeshID(gmfMeshID) {}
-  ~DriverGMF_MeshCloser();
-};
+ private:
 
+  SMDS_ElemIteratorPtr elementIterator(SMDSAbs_ElementType  type); 
+  SMDS_ElemIteratorPtr elementIterator(SMDSAbs_EntityType   type);  
+  SMDS_ElemIteratorPtr elementIterator(SMDSAbs_GeometryType type);
+
+  bool _exportRequiredGroups;
+};
 
 #endif