| 150 | } |
| 151 | |
| 152 | bool DynamicTypeImpl::equals(DDS::DynamicType_ptr other) |
| 153 | { |
| 154 | //7.5.2.8.4 Operation: equals |
| 155 | //Two types shall be considered equal if and only if all of their respective properties, as identified |
| 156 | //in Table 54 above, are equal. |
| 157 | |
| 158 | //In addition to what the spec says to compare, we will be comparing the TypeDescriptors of both |
| 159 | //DynamicTypes. The spec seems to assume this is the case, despite not listing the TypeDescriptor |
| 160 | //as a property in table 54. This is done to allow the recursive comparison required by the changes |
| 161 | //to DynamicTypeMember::equals. |
| 162 | DynamicTypePtrPairSeen dt_ptr_pair; |
| 163 | return test_equality(this, other, dt_ptr_pair); |
| 164 | } |
| 165 | |
| 166 | void DynamicTypeImpl::insert_dynamic_member(DDS::DynamicTypeMember_ptr dtm) |
| 167 | { |
nothing calls this directly
no test coverage detected