* Does the value indicate a false or off value ? Note that this is * not the same as !IsOn(...) because there are a number of * ambiguous values such as "/usr/local/bin" a path will result in * IsOn and IsOff both returning false. Note that the special path * NOTFOUND, *-NOTFOUND or IGNORE will cause IsOff to return true. */
| 69 | * NOTFOUND, *-NOTFOUND or IGNORE will cause IsOff to return true. |
| 70 | */ |
| 71 | bool IsOff() const noexcept |
| 72 | { |
| 73 | return !this->Value || cmValue::IsOff(cm::string_view(*this->Value)); |
| 74 | } |
| 75 | /** Return true if value is NOTFOUND or ends in -NOTFOUND. */ |
| 76 | bool IsNOTFOUND() const noexcept |
| 77 | { |