X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingFieldInt.hxx;h=ff8443e4147cc34b706ad420be6cfe27ad4e131c;hb=04f1c450d57b28c7c473bdc59dc87eeef7393ca5;hp=8450231361914d91bdbef231ba34f3e5c47c8723;hpb=f014e72b8511050572b7020e545c3927d4e76732;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingFieldInt.hxx b/src/MEDCoupling/MEDCouplingFieldInt.hxx index 845023136..ff8443e41 100644 --- a/src/MEDCoupling/MEDCouplingFieldInt.hxx +++ b/src/MEDCoupling/MEDCouplingFieldInt.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D +// Copyright (C) 2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -16,38 +16,13 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// Author : Yann Pora (EDF R&D) +// Author : Anthony Geay (EDF R&D) -#ifndef __MEDCOUPLINGFIELDINT_HXX__ -#define __MEDCOUPLINGFIELDINT_HXX__ +#pragma once -#include "MEDCoupling.hxx" -#include "MEDCouplingFieldT.hxx" -#include "MEDCouplingMemArray.hxx" - -#include +#include "MEDCouplingFieldInt32.hxx" namespace MEDCoupling { - class MEDCouplingFieldDouble; - class MEDCouplingFieldTemplate; - - class MEDCouplingFieldInt : public MEDCouplingFieldT - { - public: - MEDCOUPLING_EXPORT static MEDCouplingFieldInt *New(TypeOfField type, TypeOfTimeDiscretization td=ONE_TIME); - MEDCOUPLING_EXPORT static MEDCouplingFieldInt *New(const MEDCouplingFieldTemplate& ft, TypeOfTimeDiscretization td=ONE_TIME); - MEDCOUPLING_EXPORT MEDCouplingFieldInt *deepCopy() const; - MEDCOUPLING_EXPORT MEDCouplingFieldInt *clone(bool recDeepCpy) const; - MEDCOUPLING_EXPORT MEDCouplingFieldDouble *convertToDblField() const; - MEDCOUPLING_EXPORT std::string getClassName() const override { return std::string("MEDCouplingFieldInt"); } - protected: - MEDCouplingFieldInt(TypeOfField type, TypeOfTimeDiscretization td); - MEDCouplingFieldInt(const MEDCouplingFieldInt& other, bool deepCopy); - MEDCouplingFieldInt(NatureOfField n, MEDCouplingTimeDiscretizationInt *td, MEDCouplingFieldDiscretization *type); - MEDCouplingFieldInt(const MEDCouplingFieldTemplate& ft, TypeOfTimeDiscretization td); - ~MEDCouplingFieldInt() { } - }; + using MEDCouplingFieldInt = MEDCouplingFieldInt32; } - -#endif