X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FMEDFileEntities.hxx;h=b9ac6350fdc053e49abeef201315f154fa32abf2;hb=1b746b38f3cdeae6654a9501f37fde5e56e59288;hp=2558bc45e7154f68c9587bfca7694d3014ce356d;hpb=dae6b7444d035860016153962d786ff962626793;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/MEDFileEntities.hxx b/src/MEDLoader/MEDFileEntities.hxx index 2558bc45e..b9ac6350f 100644 --- a/src/MEDLoader/MEDFileEntities.hxx +++ b/src/MEDLoader/MEDFileEntities.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2017 CEA/DEN, EDF R&D +// Copyright (C) 2007-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -37,6 +37,7 @@ namespace MEDCoupling static MEDFileEntities *BuildFrom(const MEDFileStructureElements& se); virtual std::vector getDynGTAvail() const = 0; virtual bool areAllStaticTypesPresent() const = 0; + virtual bool areAllStaticPresentAndNoDyn() const = 0; virtual ~MEDFileEntities(); }; @@ -47,6 +48,7 @@ namespace MEDCoupling const std::vector< std::pair >& getEntries() const { return _entities; } std::vector getDynGTAvail() const; bool areAllStaticTypesPresent() const; + bool areAllStaticPresentAndNoDyn() const override; private: std::vector< std::pair > _entities; }; @@ -57,6 +59,7 @@ namespace MEDCoupling MEDFileAllStaticEntites() { } std::vector getDynGTAvail() const; bool areAllStaticTypesPresent() const; + bool areAllStaticPresentAndNoDyn() const override; }; class MEDLOADER_EXPORT MEDFileAllStaticEntitiesPlusDyn : public MEDFileEntities @@ -65,6 +68,7 @@ namespace MEDCoupling MEDFileAllStaticEntitiesPlusDyn(const MEDFileStructureElements *se); std::vector getDynGTAvail() const; bool areAllStaticTypesPresent() const; + bool areAllStaticPresentAndNoDyn() const override; const MEDFileStructureElement *getWithGT(int idGT) const; const MEDFileUMesh *getSupMeshWithName(const std::string& name) const; private: