MCPcopy Create free account
hub / github.com/culvertsoft/mgen / toString

Function toString

mgen-cpplib/src/main/cpp/mgen/util/stringutil.h:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 */
36template<typename EnumType>
37inline std::string toString(const EnumType e) {
38 return get_enum_name(e);
39}
40
41/**
42 * Utility method for MGen readers and writers

Callers 5

get_enum_nameFunction · 0.85
writeMethod · 0.85
verifyReadTagIfMethod · 0.85
throwByUnexpectedIdsFunction · 0.85
getCompatibleEntryFunction · 0.85

Calls 2

get_enum_nameFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected