ATLAS Offline Software
Loading...
Searching...
No Matches
dlldep.Cache Class Reference
Collaboration diagram for dlldep.Cache:

Public Member Functions

 __init__ (self)
 add (self, shlib)
 writeDOT (self, file)
 dot (self, code, style={})

Public Attributes

dict myfiles = {}
list dotsrc = []

Static Public Attributes

dict files = {}
list stats = []

Detailed Description

Global cache of already processed files

Definition at line 22 of file dlldep.py.

Constructor & Destructor Documentation

◆ __init__()

dlldep.Cache.__init__ ( self)

Definition at line 28 of file dlldep.py.

28 def __init__(self):
29 self.myfiles = {} # Dependencies of the currently processed lib
30 self.dotsrc = [] # DOT source code
31

Member Function Documentation

◆ add()

dlldep.Cache.add ( self,
shlib )
Add file to local and global cache

Definition at line 32 of file dlldep.py.

32 def add(self, shlib):
33 """Add file to local and global cache"""
34 self.myfiles[shlib.lib] = shlib
35 Cache.files[shlib.lib] = shlib
36
bool add(const std::string &hname, TKey *tobj)
Definition fastadd.cxx:55

◆ dot()

dlldep.Cache.dot ( self,
code,
style = {} )
Output a line of dot code

Definition at line 40 of file dlldep.py.

40 def dot(self, code, style={}):
41 """Output a line of dot code"""
42 if len(style)>0:
43 code += ' ['
44 for k,v in style.items():
45 code += '%s="%s" ' % (k,v)
46 code += ']'
47
48 self.dotsrc.append(code)
49 return
50
51
Definition dot.py:1

◆ writeDOT()

dlldep.Cache.writeDOT ( self,
file )

Definition at line 37 of file dlldep.py.

37 def writeDOT(self, file):
38 for d in self.dotsrc: print (file, d, file=file)
39

Member Data Documentation

◆ dotsrc

list dlldep.Cache.dotsrc = []

Definition at line 30 of file dlldep.py.

◆ files

dict dlldep.Cache.files = {}
static

Definition at line 25 of file dlldep.py.

◆ myfiles

dict dlldep.Cache.myfiles = {}

Definition at line 29 of file dlldep.py.

◆ stats

list dlldep.Cache.stats = []
static

Definition at line 26 of file dlldep.py.


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