MCPcopy Create free account
hub / github.com/MITK/MITK / FindCaseSensitive

Method FindCaseSensitive

Modules/CppMicroServices/src/usServicePropertiesImpl.cpp:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79int ServicePropertiesImpl::FindCaseSensitive(const std::string& key) const
80{
81 for (std::size_t i = 0; i < keys.size(); ++i)
82 {
83 if (key == keys[i])
84 {
85 return static_cast<int>(i);
86 }
87 }
88 return -1;
89}
90
91const std::vector<std::string>& ServicePropertiesImpl::Keys() const
92{

Callers 1

EvaluateMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected