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

Method _load_buffer_UTF32

OgreMain/src/OgreUTFString.cpp:1998–2012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1996 }
1997
1998 void UTFString::_load_buffer_UTF32() const
1999 {
2000 _getBufferUTF32Str();
2001 utf32string &buffer = ( *mBuffer.mUTF32StrBuffer );
2002 buffer.reserve( length() ); // may over reserve, but should be close enough
2003
2004 unicode_char c;
2005
2006 const_iterator i, ie = end();
2007 for( i = begin(); i != ie; i.moveNext() )
2008 {
2009 c = i.getCharacter();
2010 buffer.push_back( c );
2011 }
2012 }
2013
2014} // namespace Ogre
2015

Callers

nothing calls this directly

Calls 7

endFunction · 0.85
beginFunction · 0.85
moveNextMethod · 0.80
getCharacterMethod · 0.80
lengthFunction · 0.50
reserveMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected