| 565 | } |
| 566 | |
| 567 | cmValue 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 | |
| 578 | bool cmCacheManager::CacheEntry::GetPropertyAsBool( |
| 579 | std::string const& prop) const |
no test coverage detected