| 206 | } |
| 207 | |
| 208 | bool compare(const Sample& other) const |
| 209 | { |
| 210 | const Sample_T<NativeType>* const other_same_kind = |
| 211 | dynamic_cast<const Sample_T<NativeType>*>(&other); |
| 212 | OPENDDS_ASSERT(other_same_kind); |
| 213 | return typename TraitsType::LessThanType()(*data_, *other_same_kind->data_); |
| 214 | } |
| 215 | |
| 216 | bool to_message_block(ACE_Message_Block& mb) const |
| 217 | { |
no outgoing calls
no test coverage detected