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

Method MinimalMemberDetail

dds/DCPS/XTypes/TypeObject.cpp:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116{}
117
118MinimalMemberDetail::MinimalMemberDetail(const OPENDDS_STRING& name)
119{
120 unsigned char result[16];
121 DCPS::MD5Hash(result, name.c_str(), name.size());
122
123 std::memcpy(name_hash, result, sizeof name_hash);
124}
125
126#ifdef min
127#undef min

Callers

nothing calls this directly

Calls 2

MD5HashFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected