MCPcopy Create free account
hub / github.com/MyGUI/mygui / _load_buffer_UTF32

Method _load_buffer_UTF32

MyGUIEngine/src/MyGUI_UString.cpp:2049–2064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2047 }
2048
2049 void UString::_load_buffer_UTF32() const
2050 {
2051 _getBufferUTF32Str();
2052 utf32string& buffer = (*m_buffer.mUTF32StrBuffer);
2053 buffer.reserve(length()); // may over reserve, but should be close enough
2054
2055 unicode_char c;
2056
2057 const_iterator i;
2058 const_iterator ie = end();
2059 for (i = begin(); i != ie; i.moveNext())
2060 {
2061 c = i.getCharacter();
2062 buffer.push_back(c);
2063 }
2064 }
2065
2066} // namespace MyGUI

Callers

nothing calls this directly

Calls 5

moveNextMethod · 0.80
getCharacterMethod · 0.80
lengthFunction · 0.50
reserveMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected