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

Method EncapsulationHeader

dds/DCPS/EncapsulationHeader.cpp:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace DCPS {
16
17EncapsulationHeader::EncapsulationHeader(const Encoding& enc,
18 Extensibility ext,
19 ACE_CDR::UShort options)
20 : kind_(KIND_INVALID)
21 , options_(options)
22{
23 if (!from_encoding(*this, enc, ext)) {
24 kind_ = KIND_INVALID;
25 }
26}
27
28String
29EncapsulationHeader::to_string() const

Callers

nothing calls this directly

Calls 1

from_encodingFunction · 0.85

Tested by

no test coverage detected