X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FMEDFileMeshReadSelector.hxx;h=be626f3ba442e89aefdcf67e86cdbe2732e9b4b5;hb=662a2a2393a25baef77e42f74204b11b70a9646c;hp=2a90b7dc0f2470ac3cf4dab4343f2e60dc72a4f8;hpb=56fddf07c0b7170f79791d38e2b909a8a5b0b872;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/MEDFileMeshReadSelector.hxx b/src/MEDLoader/MEDFileMeshReadSelector.hxx index 2a90b7dc0..be626f3ba 100644 --- a/src/MEDLoader/MEDFileMeshReadSelector.hxx +++ b/src/MEDLoader/MEDFileMeshReadSelector.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -16,17 +16,17 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// Author : Anthony Geay (CEA/DEN) +// Author : Anthony Geay (EDF R&D) -#ifndef __MEDFILEMESHREADSELECTOR_HXX__ -#define __MEDFILEMESHREADSELECTOR_HXX__ +#pragma once #include "MEDLoaderDefines.hxx" -#include +#include "MCIdType.hxx" + #include -namespace ParaMEDMEM +namespace MEDCoupling { class MEDLOADER_EXPORT MEDFileMeshReadSelector { @@ -35,22 +35,27 @@ namespace ParaMEDMEM MEDFileMeshReadSelector(unsigned int code); unsigned int getCode() const; void setCode(unsigned int newCode); + mcIdType getNumberOfCoordsLoadSessions() const { return _nb_coords_load_sessions; } + void setNumberOfCoordsLoadSessions(mcIdType newNbOfCoordsLoadSessions); bool isCellFamilyFieldReading() const; bool isNodeFamilyFieldReading() const; bool isCellNameFieldReading() const; bool isNodeNameFieldReading() const; bool isCellNumFieldReading() const; bool isNodeNumFieldReading() const; + bool isGlobalNodeNumFieldReading() const; void setCellFamilyFieldReading(bool b); void setNodeFamilyFieldReading(bool b); void setCellNameFieldReading(bool b); void setNodeNameFieldReading(bool b); void setCellNumFieldReading(bool b); void setNodeNumFieldReading(bool b); + void setGlobalNodeNumFieldReading(bool b); void reprAll(std::ostream& str) const; private: static std::string ReprStatus(bool v); private: + mcIdType _nb_coords_load_sessions; //bit #0 cell family field //bit #1 node family field //bit #2 cell name field @@ -61,4 +66,3 @@ namespace ParaMEDMEM }; } -#endif