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

Function serializeInvocation

Plugins/Plugin_HikariWidget/FlashHandler.h:107–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 std::wstring serializeInvocation(const std::wstring& funcName, const Arguments& args)
108 {
109 std::wstring result;
110
111 result += L"<invoke name=\"" + funcName + L"\" returntype=\"xml\">";
112
113 if (!args.empty())
114 {
115 result += L"<arguments>";
116 for (Arguments::const_iterator i = args.begin(); i != args.end(); ++i)
117 result += serializeValue(*i);
118 result += L"</arguments>";
119 }
120
121 result += L"</invoke>";
122
123 return result;
124 }
125
126 bool deserializeInvocation(const std::wstring& xmlString, std::wstring& funcName, Arguments& args)
127 {

Callers 1

callFunctionMethod · 0.85

Calls 4

serializeValueFunction · 0.85
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected