ATLAS Offline Software
Loading...
Searching...
No Matches
checkTP.Columbo Class Reference
Inheritance diagram for checkTP.Columbo:
Collaboration diagram for checkTP.Columbo:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 __init__ (self)
 loadDicts (self, klassName)

Public Attributes

 gbl = cppyy.gbl
 Type = cppyy.gbl.RootType
list report = []

Detailed Description

Definition at line 54 of file checkTP.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

checkTP.Columbo.__init__ ( self)

Definition at line 56 of file checkTP.py.

56 def __init__(self):
57 object.__init__(self)
58 print ("")
59 print ("#"*80)
60 print ("## initializing...")
61 import cppyy
62 self.gbl = cppyy.gbl
63 self.Type = cppyy.gbl.RootType
64
65 self.report = []
66 return
67

Member Function Documentation

◆ loadDicts()

checkTP.Columbo.loadDicts ( self,
klassName )

Definition at line 68 of file checkTP.py.

68 def loadDicts(self, klassName):
69 klassNames = [klassName]
70 print ("## loading dictionary... [%s]" % klassName)
71
72
73 if klassName.startswith("std::_"):
74 return klassNames
75 #return []
76
77
78 if klassName in _cpp_builtins:
79 return klassNames
80
81 loaded = False
82 try:
83 loaded = getattr (self.gbl, klassName)
84 except Exception as e:
85 print ("Error loading dict. for [%s]" % klassName)
86 print ("--> ", e)
87 if not loaded:
88 print ("Failed to load dict for [%s]" % klassName)
89 return klassNames
90 klass = self.Type.ByName(klassName)
91
92 if not klass.IsStruct() and not klass.IsClass():
93 return klassNames
94
95 for i in range(klass.BaseSize()):
96 baseKlassName = klass.BaseAt(i).Name()
97 klassNames.extend (self.loadDicts(baseKlassName))
98 pass

Member Data Documentation

◆ gbl

checkTP.Columbo.gbl = cppyy.gbl

Definition at line 62 of file checkTP.py.

◆ report

list checkTP.Columbo.report = []

Definition at line 65 of file checkTP.py.

◆ Type

checkTP.Columbo.Type = cppyy.gbl.RootType

Definition at line 63 of file checkTP.py.


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