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

Method compare

dds/DCPS/Sample.h:208–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 5

operator()Function · 0.45
joinMethod · 0.45
combineMethod · 0.45
tie_breakerFunction · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected