MCPcopy Create free account
hub / github.com/comaps/comaps / operator()

Method operator()

libs/routing/joint_segment.cpp:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111namespace std
112{
113size_t std::hash<routing::JointSegment>::operator()(routing::JointSegment const & jointSegment) const
114{
115 size_t seed = 0;
116 boost::hash_combine(seed, jointSegment.GetMwmId());
117 boost::hash_combine(seed, jointSegment.GetFeatureId());
118 boost::hash_combine(seed, jointSegment.GetStartSegmentId());
119 boost::hash_combine(seed, jointSegment.GetEndSegmentId());
120 boost::hash_combine(seed, jointSegment.IsForward());
121 return seed;
122}
123} // namespace std

Callers

nothing calls this directly

Calls 5

GetStartSegmentIdMethod · 0.80
GetEndSegmentIdMethod · 0.80
GetMwmIdMethod · 0.45
GetFeatureIdMethod · 0.45
IsForwardMethod · 0.45

Tested by

no test coverage detected