MCPcopy Create free account
hub / github.com/Icinga/icinga2 / IsEmpty

Method IsEmpty

lib/base/value.cpp:115–118  ·  view source on GitHub ↗

* Checks whether the variant is empty. * * @returns true if the variant is empty, false otherwise. */

Source from the content-addressed store, hash-verified

113 * @returns true if the variant is empty, false otherwise.
114 */
115bool Value::IsEmpty() const
116{
117 return (GetType() == ValueEmpty || (IsString() && boost::get<String>(m_Value).IsEmpty()));
118}
119
120/**
121 * Checks whether the variant is scalar (i.e. not an object and not empty).

Callers 15

HandleRequestMethod · 0.45
AddSuggestionsFunction · 0.45
EvaluateFilterMethod · 0.45
HasPermissionMethod · 0.45
CopyCertificateFileMethod · 0.45
OnConfigLoadedMethod · 0.45
ListenerCoroutineProcMethod · 0.45
GetConfigDirMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected