MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / convertToString

Function convertToString

tools/excelRTD/RTDServer.cpp:319–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317
318namespace {
319 std::string convertToString(const VARIANT& value) {
320 std::stringstream os;
321 os << _bstr_t(value.bstrVal, true);
322 return os.str();
323 }
324
325 std::string getSafeArrayElementAsStr(SAFEARRAY **Strings, long idx) {
326 VARIANT value;

Callers 1

getSafeArrayElementAsStrFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected