| 49 | |
| 50 | /** specialized hash for FactorType enum */ |
| 51 | struct HashGlobalID |
| 52 | { |
| 53 | size_t operator() (const UniqueID &Object) const |
| 54 | { |
| 55 | size_t H1 = std::hash<size_t>()(static_cast<size_t>(Object.ID)); |
| 56 | size_t H2 = std::hash<double>()(roundToTick(Object.Timestamp)); |
| 57 | size_t H3 = std::hash<size_t>()(Object.Number); |
| 58 | |
| 59 | return H1 ^ H2 ^ H3; |
| 60 | } |
| 61 | }; |
| 62 | |
| 63 | using DataSet<FactorType, CeresFactorID>::addElement; |
| 64 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected