#include <stdint.h>
Go to the source code of this file.
Definition at line 47 of file capi_pluginservice.cpp.
49 Registry& reg = Registry::instance();
51 cache = reg.getInfo(
self.
id ).getprop(
"ClassName" );
Definition at line 33 of file capi_pluginservice.cpp.
35 Registry& reg = Registry::instance();
36 return reg.getInfo(
self.
id ).library.c_str();
Definition at line 62 of file capi_pluginservice.cpp.
65 Registry& reg = Registry::instance();
66 const Registry::FactoryInfo& fi = reg.getInfo( cprop.id );
67 if (
n < static_cast<int>( fi.properties.size() ) ) cprop.key =
next(
begin( fi.properties ),
n )->first.c_str();
cgaudi_pluginsvc_t registry
AttribStringParser::Iterator begin(const AttribStringParser &parser)
Definition at line 55 of file capi_pluginservice.cpp.
57 Registry& reg = Registry::instance();
58 const Registry::FactoryInfo& fi = reg.getInfo(
self.
id );
59 return int( fi.properties.size() );
Definition at line 39 of file capi_pluginservice.cpp.
41 Registry& reg = Registry::instance();
43 cache =
demangle( reg.getInfo(
self.id ).factory.type() );
GAUDIPS_API std::string demangle(const std::type_info &id)
Return a canonical name for type_info object (implementation borrowed from GaudiKernel/System).
Definition at line 25 of file capi_pluginservice.cpp.
27 const Registry* reg =
static_cast<const Registry*
>(
self.registry );
29 if (
n >= static_cast<int>(
factories.size() ) )
return {
self,
nullptr};
AttribStringParser::Iterator begin(const AttribStringParser &parser)
Definition at line 19 of file capi_pluginservice.cpp.
21 const Registry::FactoryMap& fmap =
static_cast<const Registry*
>(
self.registry )->
factories();
22 return int( fmap.size() );
Definition at line 73 of file capi_pluginservice.cpp.
75 Registry& reg = Registry::instance();
76 const Registry::FactoryInfo& fi = reg.getInfo(
self.
id );
77 auto prop = fi.properties.find(
self.key );
78 return prop != fi.properties.end() ? prop->second.c_str() :
nullptr;