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

Method IsOff

Source/cmValue.h:71–74  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

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 {

Callers 1

cmIsOffFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected