CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
accesses Namespace Reference

Functions

def funcprint
 

Variables

tuple calls = defaultdict(list)
 
tuple dirs = paths.match(fields[0])
 
tuple f = open('log.txt')
 
tuple fields = line.split("\'")
 
tuple filename = dirs.group(1)
 
tuple gets = defaultdict(list)
 
tuple line = line.strip()
 
list lines = []
 
tuple paths = re.compile(".*?\s*src/([A-Z].*?/[A-z].*?)(/.*?):(.*?):(.*?)")
 
tuple tab = re.compile("\s+")
 
tuple topfunc = re.compile("::produce$|::analyze$|::filter$")
 
tuple warning = re.compile("warning: function")
 

Function Documentation

def accesses.funcprint (   str,
  nspaces 
)

Definition at line 45 of file accesses.py.

References join().

45 
46 def funcprint(str,nspaces):
47  "This prints out the get and calls of a function"
48  print "".join((nspaces * "\t")+"function:\t"+str)
49  for l in gets[str]:
50 # print l
51  lf = l.split(" edm::Handle ")
52 # print lf
53  if len(lf) == 2 :
54  print "".join(((nspaces+1) * "\t")+"acceses:\t"+lf[1].strip())
55  print "".join(((nspaces+2) * "\t")+"label:\t"+lf[0].strip())
56  else :
57  print "".join(((nspaces+1) * "\t")+"acceses:\t"+l.strip())
58  for call in calls[str]:
59  print "".join(((nspaces+1) * "\t")+"calls:\t"+call.strip())
60  if call != str: funcprint(call,(nspaces+2))
61  return
def funcprint
Definition: accesses.py:45
static std::string join(char **cmd)
Definition: RemoteFile.cc:18

Variable Documentation

tuple accesses.calls = defaultdict(list)

Definition at line 10 of file accesses.py.

tuple accesses.dirs = paths.match(fields[0])

Definition at line 30 of file accesses.py.

Referenced by AlignmentMonitorBase.directory(), SiStripTFile.findHistos(), spr.matrixECALIds(), spr.newECALIdEW(), spr.newECALIdNS(), StorageFactory.setTempDir(), and WatcherStreamFileReader.WatcherStreamFileReader().

tuple accesses.f = open('log.txt')

Definition at line 12 of file accesses.py.

tuple accesses.fields = line.split("\'")

Definition at line 19 of file accesses.py.

tuple accesses.filename = dirs.group(1)

Definition at line 31 of file accesses.py.

tuple accesses.gets = defaultdict(list)

Definition at line 9 of file accesses.py.

string accesses.line = line.strip()

Definition at line 17 of file accesses.py.

list accesses.lines = []

Definition at line 13 of file accesses.py.

tuple accesses.paths = re.compile(".*?\s*src/([A-Z].*?/[A-z].*?)(/.*?):(.*?):(.*?)")

Definition at line 6 of file accesses.py.

tuple accesses.tab = re.compile("\s+")

Definition at line 4 of file accesses.py.

Referenced by Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin._collapseAll(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin._expandAll(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin._expandToDepth(), edm::actions.actionName(), CaloDirectionOperations.add2d(), FWDialogBuilder.beginTab(), condbon.cdbon_read_rec(), condbon.cdbon_write(), OnDemandMeasurementTracker.dumpCluster(), npstat::StorableHistoNDFunctor< Numeric, Axis, Converter >.read(), npstat::StorableInterpolationFunctor< Numeric, Axis, Converter >.read(), and tabbing().

tuple accesses.topfunc = re.compile("::produce$|::analyze$|::filter$")

Definition at line 5 of file accesses.py.

tuple accesses.warning = re.compile("warning: function")

Definition at line 3 of file accesses.py.