| 132 | {} |
| 133 | |
| 134 | int cmp(void* lhs, void* rhs) const |
| 135 | { |
| 136 | const XTypes::DynamicSample& left = *static_cast<XTypes::DynamicSample*>(lhs); |
| 137 | const XTypes::DynamicSample& right = *static_cast<XTypes::DynamicSample*>(rhs); |
| 138 | const DDS::DynamicData_var l(left.dynamic_data()), r(right.dynamic_data()); |
| 139 | const DDS::MemberId id = l->get_member_id_by_name(field_.c_str()); |
| 140 | int result; |
| 141 | if (XTypes::compare_members(result, l, r, id) != DDS::RETCODE_OK) { |
| 142 | return 1; // warning already logged |
| 143 | } |
| 144 | return result; |
| 145 | } |
| 146 | |
| 147 | bool less(void* lhs, void* rhs) const |
| 148 | { |
nothing calls this directly
no test coverage detected