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

Method Register

lib/base/type.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void Type::Register(const Type::Ptr& type)
83{
84 ScriptGlobal::Set("Types." + type->GetName(), type);
85}
86
87Type::Ptr Type::GetByName(const String& name)
88{

Callers 5

BOOST_AUTO_TEST_CASEFunction · 0.45
CreateTestUsersMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected