X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingNatureOfField.hxx;h=aac1ea66257a4f9f10974263f1cd520391661ea2;hb=0c9d48870957c4a9f6f82fc8e2c569780a5f886b;hp=bc9e0caf4cb0aeb41ad3d7d4d80fcf6a0cc53e11;hpb=7c85960d24ee326fa45db5f8bba94976904835c5;p=modules%2Fmed.git diff --git a/src/MEDCoupling/MEDCouplingNatureOfField.hxx b/src/MEDCoupling/MEDCouplingNatureOfField.hxx index bc9e0caf4..aac1ea662 100644 --- a/src/MEDCoupling/MEDCouplingNatureOfField.hxx +++ b/src/MEDCoupling/MEDCouplingNatureOfField.hxx @@ -22,23 +22,16 @@ #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: