MCPcopy Create free account
hub / github.com/Kitware/CMake / GetProperty

Method GetProperty

Source/cmCacheManager.cxx:567–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565}
566
567cmValue cmCacheManager::CacheEntry::GetProperty(std::string const& prop) const
568{
569 if (prop == "TYPE") {
570 return cmValue(cmState::CacheEntryTypeToString(this->Type));
571 }
572 if (prop == "VALUE") {
573 return cmValue(this->Value);
574 }
575 return this->Properties.GetPropertyValue(prop);
576}
577
578bool cmCacheManager::CacheEntry::GetPropertyAsBool(
579 std::string const& prop) const

Callers 3

GetPropertyAsBoolMethod · 0.95
WritePropertyEntriesMethod · 0.45
SaveCacheMethod · 0.45

Calls 2

GetPropertyValueMethod · 0.80
cmValueClass · 0.70

Tested by

no test coverage detected