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

Method equals

dds/DCPS/XTypes/DynamicTypeImpl.cpp:152–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152bool 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
166void DynamicTypeImpl::insert_dynamic_member(DDS::DynamicTypeMember_ptr dtm)
167{

Callers

nothing calls this directly

Calls 1

test_equalityFunction · 0.70

Tested by

no test coverage detected