X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingMemArrayChar.cxx;h=4c44edb3bc0e1aeb12be75b1c53157469eed2bc5;hb=e7835cba1eb17f50ef4e130c2cb8d0f54bc25083;hp=6c90110879617f988f67cefaca60eeddd06a937c;hpb=3531e8f47b047f0176ec094e51ab2474284f3cd9;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingMemArrayChar.cxx b/src/MEDCoupling/MEDCouplingMemArrayChar.cxx index 6c9011087..4c44edb3b 100644 --- a/src/MEDCoupling/MEDCouplingMemArrayChar.cxx +++ b/src/MEDCoupling/MEDCouplingMemArrayChar.cxx @@ -93,16 +93,6 @@ bool DataArrayChar::isEqualWithoutConsideringStr(const DataArrayChar& other) con return _mem.isEqual(other._mem,0,tmp); } -/*! - * Assign zero to all values in \a this array. To know more on filling arrays see - * \ref MEDCouplingArrayFill. - * \throw If \a this is not allocated. - */ -void DataArrayChar::fillWithZero() -{ - fillWithValue(0); -} - /*! * Returns a textual and human readable representation of \a this instance of * DataArrayChar. This text is shown when a DataArrayChar is printed in Python. @@ -855,7 +845,7 @@ DataArrayAsciiChar::DataArrayAsciiChar(const std::string& st) { std::size_t lgth=st.length(); if(lgth==0) - throw INTERP_KERNEL::Exception("DataArrayAsciiChar contructor with string ! Size of input string is null !"); + throw INTERP_KERNEL::Exception("DataArrayAsciiChar constructor with string ! Size of input string is null !"); alloc(1,lgth); std::copy(st.begin(),st.begin()+lgth,getPointer()); } @@ -892,12 +882,12 @@ DataArrayAsciiChar *DataArrayAsciiChar::New(const std::vector& vst, DataArrayAsciiChar::DataArrayAsciiChar(const std::vector& vst, char defaultChar) { if(vst.empty()) - throw INTERP_KERNEL::Exception("DataArrayAsciiChar contructor with vector of strings ! Empty array !"); + throw INTERP_KERNEL::Exception("DataArrayAsciiChar constructor with vector of strings ! Empty array !"); std::size_t nbCompo=0; for(std::vector::const_iterator it=vst.begin();it!=vst.end();it++) nbCompo=std::max(nbCompo,(*it).length()); if(nbCompo==0) - throw INTERP_KERNEL::Exception("DataArrayAsciiChar contructor with vector of strings ! All strings in not empty vector are empty !"); + throw INTERP_KERNEL::Exception("DataArrayAsciiChar constructor with vector of strings ! All strings in not empty vector are empty !"); int nbTuples=(int)vst.size(); alloc(nbTuples,(int)nbCompo); char *pt=getPointer();