#include "Driver_SMESHDS_Mesh.h"
#include "SMDSAbs_ElementType.hxx"
+#include "SMDS_ElemIterator.hxx"
/*!
* \brief Driver Writing a mesh into a GMF file.
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