MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / GetString

Method GetString

test/common/gtest/gtest.cpp:2453–2455  ·  view source on GitHub ↗

Gets the text streamed to this object so far as an std::string. Each '\0' character in the buffer is replaced with "\\0".

Source from the content-addressed store, hash-verified

2451// Gets the text streamed to this object so far as an std::string.
2452// Each '\0' character in the buffer is replaced with "\\0".
2453std::string Message::GetString() const {
2454 return internal::StringStreamToString(ss_.get());
2455}
2456
2457// AssertionResult constructors.
2458// Used in EXPECT_TRUE/FALSE(assertion_result).

Callers 15

AppendUserMessageFunction · 0.80
FormatWordListFunction · 0.80
RecordPropertyMethod · 0.80
EscapeXmlMethod · 0.80
gtest.cppFile · 0.80
GTEST_LOCK_EXCLUDED_Function · 0.80

Calls 2

StringStreamToStringFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected