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

Method HasOwnField

lib/base/object.cpp:81–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81bool Object::HasOwnField(const String& field) const
82{
83 Type::Ptr type = GetReflectionType();
84
85 if (!type)
86 return false;
87
88 return type->GetFieldId(field) != -1;
89}
90
91bool Object::GetOwnField(const String& field, Value *result) const
92{

Callers 3

GetPrototypeFieldMethod · 0.45
FindVarImportRefMethod · 0.45
GetReferenceMethod · 0.45

Calls 1

GetFieldIdMethod · 0.45

Tested by

no test coverage detected