MCPcopy Create free account
hub / github.com/apache/qpid-proton / inspect

Function inspect

c/tests/pn_test.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60namespace pn_test {
61
62std::string inspect(void *obj) {
63 char* s = pn_tostring(obj);
64 std::string r(s);
65 free(s);
66 return r;
67}
68
69std::ostream &operator<<(std::ostream &o, const etypes &et) {
70 return o << Catch::Detail::stringify(static_cast<std::vector<pn_event_type_t> >(et));

Callers 5

pn_ptr_baseClass · 0.85
inspectMethod · 0.85
data_test.cppFile · 0.85
check_encode_decodeFunction · 0.85
engine_test.cppFile · 0.85

Calls 1

pn_tostringFunction · 0.50

Tested by

no test coverage detected