MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / GetBundle

Method GetBundle

framework/src/bundle/BundleContext.cpp:123–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 Bundle
124 BundleContext::GetBundle() const
125 {
126 if (!d)
127 {
128 throw cppmicroservices::IllegalStateException("The bundle context is no longer valid");
129 }
130
131 d->CheckValid();
132 auto b = GetAndCheckBundlePrivate(d);
133
134 return MakeBundle(b);
135 }
136
137 Bundle
138 BundleContext::GetBundle(long id) const

Callers

nothing calls this directly

Calls 4

GetAndCheckBundlePrivateFunction · 0.85
MakeBundleFunction · 0.85
CheckValidMethod · 0.80
FilterBundleMethod · 0.80

Tested by

no test coverage detected