ATLAS Offline Software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dlldep.Cache Class Reference
Collaboration diagram for dlldep.Cache:

Public Member Functions

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

Public Attributes

 myfiles
 
 dotsrc
 

Static Public Attributes

 files
 
 stats
 

Detailed Description

Global cache of already processed files

Definition at line 22 of file dlldep.py.

Constructor & Destructor Documentation

◆ __init__()

def 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()

def 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 

◆ dot()

def 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()

def 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

dlldep.Cache.dotsrc

Definition at line 30 of file dlldep.py.

◆ files

dlldep.Cache.files
static

Definition at line 25 of file dlldep.py.

◆ myfiles

dlldep.Cache.myfiles

Definition at line 29 of file dlldep.py.

◆ stats

dlldep.Cache.stats
static

Definition at line 26 of file dlldep.py.


The documentation for this class was generated from the following file:
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
add
bool add(const std::string &hname, TKey *tobj)
Definition: fastadd.cxx:55
dot.dot
def dot(G, fn, nodesToHighlight=[])
Definition: dot.py:5
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18