Salome HOME
Building a version which will be tagged PreV2_0_0 working with KERNEL V1_4_0.
[modules/med.git] / src / MEDMEM / MEDMEM_GenDriver.hxx
index 0fcdeda65ffc6395c5439caf5880bf9dcb1b3d26..ccc2ab6eb9e5a262564f8f0a7b603fc8eed90378 100644 (file)
@@ -8,8 +8,6 @@
 
 /* Generic Read/Write Driver Class for Meshes & Fields */
 
-/* Modify the following line to add a new driver type (step 1) */
-typedef enum { MED_DRIVER = 0, GIBI_DRIVER = 1, VTK_DRIVER = 254, NO_DRIVER = 255 } driverTypes;
 
 using namespace MED_EN;
 using namespace std;
@@ -19,7 +17,10 @@ using namespace std;
   Virtual class GENDRIVER use by all driver.
 
 */
+namespace MEDMEM {
 
+/* Modify the following line to add a new driver type (step 1) */
+typedef enum { MED_DRIVER = 0, GIBI_DRIVER = 1, PORFLOW_DRIVER = 2, VTK_DRIVER = 254, NO_DRIVER = 255 } driverTypes;
 class GENDRIVER {
 
 protected :
@@ -107,6 +108,7 @@ public:
   void   setFileName ( const string & fileName);
   med_mode_acces getAccessMode() const;
 };
+};
 
 
 #endif /* GENDRIVER_HXX */