MCPcopy Create free account
hub / github.com/SOUI2/soui / StreamWhiteSpace

Method StreamWhiteSpace

tools/src/uiresbuilder/tinyxml/tinyxmlparser.cpp:365–378  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

363
364#ifdef TIXML_USE_STL
365/*static*/ bool TiXmlBase::StreamWhiteSpace( std::istream * in, TIXML_STRING * tag )
366{
367 for( ;; )
368 {
369 if ( !in->good() ) return false;
370
371 int c = in->peek();
372 // At this scope, we can't get to a document. So fail silently.
373 if ( !IsWhiteSpace( c ) || c <= 0 )
374 return true;
375
376 *tag += (char) in->get();
377 }
378}
379
380/*static*/ bool TiXmlBase::StreamTo( std::istream * in, int character, TIXML_STRING * tag )
381{

Callers

nothing calls this directly

Calls 3

goodMethod · 0.80
peekMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected