MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Method operator()

cpp/src/arrow/util/reflection_test.cc:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57 template <typename Property>
58 void operator()(const Property& prop, size_t i) {
59 std::stringstream ss;
60 ss << prop.name() << ":" << prop.get(obj_);
61 members_[i] = ss.str();
62 }
63
64 std::string Finish() {
65 return std::string(class_name_) + "{" + JoinStrings(members_, ",") + "}";

Callers

nothing calls this directly

Calls 3

strMethod · 0.80
nameMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected