ATLAS Offline Software
|
A helper class to manage accesses to PyProxies. More...
#include <SgPyDataModel.h>
Public Types | |
typedef std::unordered_map< StoreGateSvc *, SG::PyProxyDict * > | PyProxyMap_t |
typedef std::unordered_map< CLID, std::string > | ClidMap_t |
a dictionary of CLID -> reflex typename More... | |
Public Member Functions | |
PyProxyMgr () | |
~PyProxyMgr () | |
SG::PyProxyDict * | pyproxy (StoreGateSvc *sg) |
PyObject * | pyclid (PyObject *tp) |
returns a borrowed reference More... | |
PyObject * | pytp (PyObject *clid) |
returns a borrowed reference More... | |
PyObject * | pytp (CLID clid) |
returns a borrowed reference More... | |
CLID | clid (PyObject *tp) |
CLID | clid_from_tid (PyObject *tp) |
const char * | load_type (CLID id) |
ensure everything has been loaded for the clid id (classid, reflex dict, baseinfobase,...) More... | |
Static Public Member Functions | |
static PyProxyMgr & | instance () |
Public Attributes | |
IDictLoaderSvc * | m_dictSvc |
IClassIDSvc * | m_clidSvc |
PyObject * | m_aliases |
a dictionary of "typedef'ed typename" -> "typename" More... | |
PyObject * | m_clids |
a dictionary of 'typename' -> CLID (and reverse CLID->'typename') More... | |
PyProxyMap_t | m_proxyMap |
ClidMap_t | m_clidMap |
Private Member Functions | |
PyObject * | importDictAliases () |
import the dictionary of aliases from a well known location More... | |
A helper class to manage accesses to PyProxies.
Definition at line 191 of file SgPyDataModel.h.
typedef std::unordered_map<CLID, std::string> SG::PyProxyMgr::ClidMap_t |
a dictionary of CLID -> reflex typename
Definition at line 205 of file SgPyDataModel.h.
typedef std::unordered_map<StoreGateSvc*,SG::PyProxyDict*> SG::PyProxyMgr::PyProxyMap_t |
Definition at line 201 of file SgPyDataModel.h.
SG::PyProxyMgr::PyProxyMgr | ( | ) |
Definition at line 165 of file SgPyDataModel.cxx.
SG::PyProxyMgr::~PyProxyMgr | ( | ) |
Definition at line 189 of file SgPyDataModel.cxx.
Definition at line 274 of file SgPyDataModel.h.
Definition at line 306 of file SgPyDataModel.h.
|
inlineprivate |
import the dictionary of aliases from a well known location
Definition at line 369 of file SgPyDataModel.h.
|
inlinestatic |
Definition at line 209 of file SgPyDataModel.h.
ensure everything has been loaded for the clid id (classid, reflex dict, baseinfobase,...)
Definition at line 339 of file SgPyDataModel.h.
|
inline |
Definition at line 462 of file SgPyDataModel.h.
PyObject* SG::PyProxyMgr::m_aliases |
a dictionary of "typedef'ed typename" -> "typename"
Definition at line 196 of file SgPyDataModel.h.
ClidMap_t SG::PyProxyMgr::m_clidMap |
Definition at line 206 of file SgPyDataModel.h.
PyObject* SG::PyProxyMgr::m_clids |
a dictionary of 'typename' -> CLID (and reverse CLID->'typename')
Definition at line 199 of file SgPyDataModel.h.
IClassIDSvc* SG::PyProxyMgr::m_clidSvc |
Definition at line 194 of file SgPyDataModel.h.
IDictLoaderSvc* SG::PyProxyMgr::m_dictSvc |
Definition at line 193 of file SgPyDataModel.h.
PyProxyMap_t SG::PyProxyMgr::m_proxyMap |
Definition at line 202 of file SgPyDataModel.h.