MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / WriteReference

Method WriteReference

lib/mdflib/mdflib/src/ca4block.cpp:663–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663void Ca4Block::WriteReference(std::streambuf& buffer,
664 const CaTripleReference& ref, size_t start_index) {
665
666 UpdateLink(buffer, start_index,
667 ref.DataGroup != nullptr ? ref.DataGroup->Index() : 0 );
668 UpdateLink(buffer, start_index + 1,
669 ref.ChannelGroup != nullptr ? ref.ChannelGroup->Index() : 0 );
670 UpdateLink(buffer, start_index + 2,
671 ref.Channel != nullptr ? ref.Channel->Index() : 0 );
672}
673
674size_t Ca4Block::WriteReferences(std::streambuf& buffer,
675 const std::vector<CaTripleReference>& list,

Callers

nothing calls this directly

Calls 1

IndexMethod · 0.45

Tested by

no test coverage detected