| 15 | namespace DCPS { |
| 16 | |
| 17 | EncapsulationHeader::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 | |
| 28 | String |
| 29 | EncapsulationHeader::to_string() const |
nothing calls this directly
no test coverage detected