MCPcopy Create free account
hub / github.com/Tencent/phxrpc / GetStubClassName

Method GetStubClassName

codegen/name_render.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95const char *NameRender::GetStubClassName(const char *name, char *dest, int size) {
96 snprintf(dest, size, "%s%c%sStub", prefix_, toupper(*name), name + 1);
97
98 return dest;
99}
100
101const char *NameRender::GetCallerClassName(const char *name, char *dest, int size) {
102 snprintf(dest, size, "%s%c%sCaller", prefix_, toupper(*name), name + 1);

Callers 4

GenerateStubHppMethod · 0.80
GenerateStubCppMethod · 0.80
GenerateClientCppMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected