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 24 of file dlldep.py.

Constructor & Destructor Documentation

◆ __init__()

def dlldep.Cache.__init__ (   self)

Definition at line 30 of file dlldep.py.

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

Member Function Documentation

◆ add()

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

Definition at line 34 of file dlldep.py.

34  def add(self, shlib):
35  """Add file to local and global cache"""
36  self.myfiles[shlib.lib] = shlib
37  Cache.files[shlib.lib] = shlib
38 

◆ dot()

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

Definition at line 42 of file dlldep.py.

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

◆ writeDOT()

def dlldep.Cache.writeDOT (   self,
  file 
)

Definition at line 39 of file dlldep.py.

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

Member Data Documentation

◆ dotsrc

dlldep.Cache.dotsrc

Definition at line 32 of file dlldep.py.

◆ files

dlldep.Cache.files
static

Definition at line 27 of file dlldep.py.

◆ myfiles

dlldep.Cache.myfiles

Definition at line 31 of file dlldep.py.

◆ stats

dlldep.Cache.stats
static

Definition at line 28 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