Salome HOME
Addition of new reference coords including degenerated cells.
[modules/med.git] / src / MEDCoupling / MEDCouplingNatureOfField.hxx
index bc9e0caf4cb0aeb41ad3d7d4d80fcf6a0cc53e11..aac1ea66257a4f9f10974263f1cd520391661ea2 100644 (file)
 #define __PARAMEDMEM_MEDCOUPLINGNATUREOFFIELD_HXX__
 
 #include "MEDCoupling.hxx"
+#include "MEDCouplingNatureOfFieldEnum"
+
 #include "InterpKernelException.hxx"
 
 namespace ParaMEDMEM
 {
-  typedef enum
-    {
-      NoNature               = 17,
-      ConservativeVolumic    = 26,
-      Integral               = 32,
-      IntegralGlobConstraint = 35,
-      RevIntegral            = 37
-    } NatureOfField;
-
   class MEDCouplingNatureOfField
   {
   public:
-    MEDCOUPLING_EXPORT static const char *GetRepr(NatureOfField nat) throw(INTERP_KERNEL::Exception);
+    MEDCOUPLING_EXPORT static const char *GetRepr(NatureOfField nat);
     MEDCOUPLING_EXPORT static std::string GetReprNoThrow(NatureOfField nat);
     MEDCOUPLING_EXPORT static std::string GetAllPossibilitiesStr();
   private: