X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FMEDFileFieldGlobs.cxx;h=65a7477815b95fe55f6fda94c19ae7696d9aed5f;hb=662a2a2393a25baef77e42f74204b11b70a9646c;hp=a5cbc3643e57c60f7d7895ab11e98395cd8b5821;hpb=e0c843a1fe827a90af91ada8d2033ffb3a7dd1d8;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/MEDFileFieldGlobs.cxx b/src/MEDLoader/MEDFileFieldGlobs.cxx index a5cbc3643..65a747781 100644 --- a/src/MEDLoader/MEDFileFieldGlobs.cxx +++ b/src/MEDLoader/MEDFileFieldGlobs.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 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 @@ -74,7 +74,7 @@ void MEDFileFieldGlobs::writeGlobals(med_idt fid, const MEDFileWritable& opt) co std::size_t nbOfPfls=_pfls.size(); for(std::size_t i=0;i cpy=DataArrayMedInt::Copy((const DataArrayIdType*)_pfls[i]); + MCAuto cpy=DataArrayMedInt_Copy((const DataArrayIdType*)_pfls[i]); cpy->applyLin(1,1,0); INTERP_KERNEL::AutoPtr pflName=MEDLoaderBase::buildEmptyString(MED_NAME_SIZE); MEDLoaderBase::safeStrCpy(_pfls[i]->getName().c_str(),MED_NAME_SIZE,pflName,opt.getTooLongStrPolicy()); @@ -638,7 +638,7 @@ std::string MEDFileFieldGlobs::CreateNewNameNotIn(const std::string& prefix, con /*! * Creates a MEDFileFieldGlobsReal on a given file name. Nothing is read here. - * \param [in] fname - the file name. + * \param [in] fid - the MED file handler. */ MEDFileFieldGlobsReal::MEDFileFieldGlobsReal(med_idt fid):_globals(MEDFileFieldGlobs::New(fid)) { @@ -665,7 +665,7 @@ std::vector MEDFileFieldGlobsReal::getDirectChildrenWit /*! * Returns a string describing profiles and Gauss points held in \a this. - * \return std::string - the description string. + * \param[out] oss - the description string (in a std::ostream). */ void MEDFileFieldGlobsReal::simpleReprGlobs(std::ostream& oss) const { @@ -847,7 +847,7 @@ std::string MEDFileFieldGlobsReal::createNewNameOfLoc() const /*! * Sets the name of a MED file. - * \param [inout] fileName - the file name. + * \param [in,out] fileName - the file name. */ void MEDFileFieldGlobsReal::setFileName(const std::string& fileName) { @@ -1048,7 +1048,7 @@ int MEDFileFieldGlobsReal::getLocalizationId(const std::string& loc) const /*! * Returns an id of a profile by its name. - * \param [in] loc - the profile name of interest. + * \param [in] pfl - the profile name of interest. * \return int - the id of the profile. * \throw If there is no a profile named \a loc. */ @@ -1241,7 +1241,7 @@ std::string MEDFileFieldNameScope::getName() const /*! * Sets name of \a this field - * \param [in] name - the new field name. + * \param [in] fieldName - the new field name. */ void MEDFileFieldNameScope::setName(const std::string& fieldName) {