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

Method metadataItem

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

Source from the content-addressed store, hash-verified

694// ---------------------------------------------------------------------------
695
696std::string GTiffGrid::metadataItem(const std::string &key, int sample) const {
697 auto iter = m_metadata.find(std::pair<int, std::string>(sample, key));
698 if (iter == m_metadata.end()) {
699 return std::string();
700 }
701 return iter->second;
702}
703
704// ---------------------------------------------------------------------------
705

Callers 4

openMethod · 0.45
unitMethod · 0.45
descriptionMethod · 0.45
metadataItemMethod · 0.45

Calls 3

stringClass · 0.50
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected