Global cache of already processed files
Definition at line 22 of file dlldep.py.
◆ __init__()
| dlldep.Cache.__init__ |
( |
| self | ) |
|
Definition at line 28 of file dlldep.py.
28 def __init__(self):
29 self.myfiles = {}
30 self.dotsrc = []
31
◆ add()
| dlldep.Cache.add |
( |
| self, |
|
|
| shlib ) |
Add file to local and global cache
Definition at line 32 of file dlldep.py.
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)
◆ 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
◆ 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
◆ dotsrc
| list dlldep.Cache.dotsrc = [] |
◆ files
| dict dlldep.Cache.files = {} |
|
static |
◆ myfiles
| dict dlldep.Cache.myfiles = {} |
◆ stats
| list dlldep.Cache.stats = [] |
|
static |
The documentation for this class was generated from the following file: