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

Method alignment

tests/DCPS/Serializer/AlignmentTest.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 virtual size_t space() = 0;
19
20 size_t alignment(const Encoding& encoding)
21 {
22 return (std::min)(encoding.max_align(), _alignment());
23 }
24
25 virtual size_t _alignment() { return space(); }
26

Callers 1

testTypeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected