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

Method GetField

lib/base/object.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73Value Object::GetField(int id) const
74{
75 if (id == 0)
76 return GetReflectionType()->GetName();
77 else
78 BOOST_THROW_EXCEPTION(std::runtime_error("Invalid field ID."));
79}
80
81bool Object::HasOwnField(const String& field) const
82{

Callers

nothing calls this directly

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected