MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / GetNextLine

Method GetNextLine

deps/FtpClient/FTPClient.cpp:247–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 bool COutputStream::GetNextLine(tstring& strLine)// const
248 {
249 tstring::iterator it = std::search(m_spPimpl->m_itCurrentPos, m_spPimpl->m_vBuffer.end(), m_spPimpl->mc_strEolCharacterSequence.begin(), m_spPimpl->mc_strEolCharacterSequence.end());
250 if( it == m_spPimpl->m_vBuffer.end() )
251 return false;
252
253 strLine.assign(m_spPimpl->m_itCurrentPos, it);
254
255 m_spPimpl->m_itCurrentPos = it + m_spPimpl->mc_strEolCharacterSequence.size();
256
257 return true;
258 }
259
260 tstring COutputStream::GetLocalStreamName() const
261 {

Callers 2

ListMethod · 0.80
NameListMethod · 0.80

Calls 3

endMethod · 0.45
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected