MCPcopy Create free account
hub / github.com/Kitware/VTK / Key

Class Key

ThirdParty/libproj/vtklibproj/src/grids.cpp:335–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334 private:
335 struct Key {
336 uint32_t ifdIdx;
337 uint32_t blockNumber;
338
339 Key(uint32_t ifdIdxIn, uint32_t blockNumberIn)
340 : ifdIdx(ifdIdxIn), blockNumber(blockNumberIn) {}
341 bool operator==(const Key &other) const {
342 return ifdIdx == other.ifdIdx && blockNumber == other.blockNumber;
343 }
344 };
345
346 struct KeyHasher {
347 std::size_t operator()(const Key &k) const {

Callers 3

insertMethod · 0.70
getMethod · 0.70
CacheElementMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected