MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / inString

Method inString

OgreMain/src/OgreUTFString.cpp:622–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620 void UTFString::push_back( char val ) { mData.push_back( static_cast<code_point>( val ) ); }
621
622 bool UTFString::inString( unicode_char ch ) const
623 {
624 const_iterator i, ie = end();
625 for( i = begin(); i != ie; i.moveNext() )
626 {
627 if( i.getCharacter() == ch )
628 return true;
629 }
630 return false;
631 }
632
633 const std::string &UTFString::asUTF8() const
634 {

Callers 4

find_first_ofMethod · 0.80
find_first_not_ofMethod · 0.80
find_last_ofMethod · 0.80
find_last_not_ofMethod · 0.80

Calls 4

endFunction · 0.85
beginFunction · 0.85
moveNextMethod · 0.80
getCharacterMethod · 0.80

Tested by

no test coverage detected