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

Method substr

MyGUIEngine/src/MyGUI_UString.cpp:624–631  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

622 }
623 //--------------------------------------------------------------------------
624 UString UString::substr(size_type index, size_type num /*= npos */) const
625 {
626 // this could avoid the extra copy if we used a private specialty constructor
627 dstring data = mData.substr(index, num);
628 UString tmp;
629 tmp.mData.swap(data);
630 return tmp;
631 }
632 //--------------------------------------------------------------------------
633 void UString::push_back(unicode_char val)
634 {

Callers 15

getSystemFileListFunction · 0.80
startAppFunction · 0.80
upFolderMethod · 0.80
parseParagraphMethod · 0.80
parseTagMethod · 0.80
updateMethod · 0.80
notifyTreeNodePrepareMethod · 0.80
notifyComboAcceptMethod · 0.80
deserializeValueFunction · 0.80
deserializeInvocationFunction · 0.80
toNumberFunction · 0.80
parseMethod · 0.80

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected