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

Function displayChain

tests/DCPS/Serializer/SerializerTest.cpp:365–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365void
366displayChain(ACE_Message_Block* chain)
367{
368 //std::cout << "DISPLAYING CHAIN" << std::endl;
369 for (ACE_Message_Block* current = chain; current; current = current->cont()) {
370 if (current->length() > 0) {
371 //std::cout << "DISPLAYING BLOCK" << std::endl;
372 ACE_TCHAR buffer[4096];
373 ACE::format_hexdump(current->base(), current->length(), buffer, sizeof(buffer));
374 std::cout << buffer << std::endl;
375 }
376 }
377}
378
379#if defined DDS_HAS_WCHAR && defined ACE_HAS_CPP20
380std::string wstringConvert(const ACE_CDR::WChar* in)

Callers 1

runTestFunction · 0.85

Calls 2

baseMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected