ATLAS Offline Software
Loading...
Searching...
No Matches
python.Dso.CxxDsoDb Class Reference
Inheritance diagram for python.Dso.CxxDsoDb:
Collaboration diagram for python.Dso.CxxDsoDb:

Public Member Functions

 __init__ (self)
 db (self)
 pf (self)
 has_type (self, typename)
 load_type (self, typename)
 capabilities (self, libname)
 duplicates (self, libname, pedantic=False)
 dict_duplicates (self, pedantic=False)
 pf_duplicates (self, pedantic=False)
 libs (self, detailed=False)
 content (self, pedantic)
 dso_files (self)
 dsoFiles (self)

Static Public Attributes

 dictDuplicates = dict_duplicates
 pfDuplicates = pf_duplicates

Protected Member Functions

 _to_py (self, cxx)

Protected Attributes

 _cxx = ROOT.Ath.DsoDb.instance()

Detailed Description

The repository of 'rootmap' files (location, content,...)

Definition at line 153 of file Tools/PyUtils/python/Dso.py.

Constructor & Destructor Documentation

◆ __init__()

python.Dso.CxxDsoDb.__init__ ( self)

Definition at line 157 of file Tools/PyUtils/python/Dso.py.

157 def __init__(self):
158 import cppyy # noqa: F401
159 # import root
160 import PyUtils.RootUtils as ru
161 ROOT = ru.import_root()
162 self._cxx = ROOT.Ath.DsoDb.instance()
163

Member Function Documentation

◆ _to_py()

python.Dso.CxxDsoDb._to_py ( self,
cxx )
protected

Definition at line 164 of file Tools/PyUtils/python/Dso.py.

164 def _to_py(self, cxx):
165 dd = {}
166 kk = self._cxx.py_keys_from(cxx)
167 vv = self._cxx.py_vals_from(cxx)
168 for i in range(kk.size()):
169 dd[kk[i]] = list(vv[i])
170 return dd
171

◆ capabilities()

python.Dso.CxxDsoDb.capabilities ( self,
libname )

Definition at line 186 of file Tools/PyUtils/python/Dso.py.

186 def capabilities(self, libname):
187 return list(self._cxx.capabilities(libname))
188

◆ content()

python.Dso.CxxDsoDb.content ( self,
pedantic )

Definition at line 205 of file Tools/PyUtils/python/Dso.py.

205 def content(self, pedantic):
206 return self._to_py(self._cxx.content(pedantic))
207

◆ db()

python.Dso.CxxDsoDb.db ( self)

Definition at line 173 of file Tools/PyUtils/python/Dso.py.

173 def db(self):
174 return self._to_py(self._cxx.db())
175

◆ dict_duplicates()

python.Dso.CxxDsoDb.dict_duplicates ( self,
pedantic = False )

Definition at line 192 of file Tools/PyUtils/python/Dso.py.

192 def dict_duplicates(self, pedantic=False):
193 return self._to_py(self._cxx.dict_duplicates(pedantic))
194

◆ dso_files()

python.Dso.CxxDsoDb.dso_files ( self)

Definition at line 209 of file Tools/PyUtils/python/Dso.py.

209 def dso_files(self):
210 return list(self._cxx.dso_files())
211

◆ dsoFiles()

python.Dso.CxxDsoDb.dsoFiles ( self)

Definition at line 213 of file Tools/PyUtils/python/Dso.py.

213 def dsoFiles(self):
214 return self.dso_files
215

◆ duplicates()

python.Dso.CxxDsoDb.duplicates ( self,
libname,
pedantic = False )

Definition at line 189 of file Tools/PyUtils/python/Dso.py.

189 def duplicates(self, libname, pedantic=False):
190 return self._to_py(self._cxx.duplicates(libname, pedantic))
191

◆ has_type()

python.Dso.CxxDsoDb.has_type ( self,
typename )

Definition at line 180 of file Tools/PyUtils/python/Dso.py.

180 def has_type(self, typename):
181 return self._cxx.has_type(typename)
182

◆ libs()

python.Dso.CxxDsoDb.libs ( self,
detailed = False )

Definition at line 202 of file Tools/PyUtils/python/Dso.py.

202 def libs(self, detailed=False):
203 return list(self._cxx.libs(detailed))
204

◆ load_type()

python.Dso.CxxDsoDb.load_type ( self,
typename )

Definition at line 183 of file Tools/PyUtils/python/Dso.py.

183 def load_type(self, typename):
184 return self._cxx.load_type(typename)
185

◆ pf()

python.Dso.CxxDsoDb.pf ( self)

Definition at line 177 of file Tools/PyUtils/python/Dso.py.

177 def pf(self):
178 return self._to_py(self._cxx.pf())
179

◆ pf_duplicates()

python.Dso.CxxDsoDb.pf_duplicates ( self,
pedantic = False )

Definition at line 197 of file Tools/PyUtils/python/Dso.py.

197 def pf_duplicates(self, pedantic=False):
198 return self._to_py(self._cxx.pf_duplicates(pedantic))
199

Member Data Documentation

◆ _cxx

python.Dso.CxxDsoDb._cxx = ROOT.Ath.DsoDb.instance()
protected

Definition at line 162 of file Tools/PyUtils/python/Dso.py.

◆ dictDuplicates

python.Dso.CxxDsoDb.dictDuplicates = dict_duplicates
static

Definition at line 195 of file Tools/PyUtils/python/Dso.py.

◆ pfDuplicates

python.Dso.CxxDsoDb.pfDuplicates = pf_duplicates
static

Definition at line 200 of file Tools/PyUtils/python/Dso.py.


The documentation for this class was generated from the following file: