CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Private Attributes
presentation.SubsectionBase Class Reference
Inheritance diagram for presentation.SubsectionBase:
presentation.SubsectionFromList presentation.SubsectionOnePage presentation.SummarySection offlineValidation.SubsectionSubdetectors trackSplittingValidation.SubsectionTrackSplitting

Public Member Functions

def __init__ (self, title)
 
def pages (self, validations)
 
def write (self, validations)
 

Public Attributes

 title
 

Static Private Attributes

 __metaclass__ = abc.ABCMeta
 

Detailed Description

Definition at line 92 of file presentation.py.

Constructor & Destructor Documentation

def presentation.SubsectionBase.__init__ (   self,
  title 
)

Definition at line 94 of file presentation.py.

94  def __init__(self, title):
95  self.title = title
def __init__(self, title)
Definition: presentation.py:94

Member Function Documentation

def presentation.SubsectionBase.pages (   self,
  validations 
)

Definition at line 102 of file presentation.py.

Referenced by presentation.SubsectionBase.write().

102  def pages(self, validations):
103  pass
104 
def pages(self, validations)
def presentation.SubsectionBase.write (   self,
  validations 
)

Definition at line 96 of file presentation.py.

References join(), presentation.SubsectionBase.pages(), classes.PlotData.title, preexistingValidation.PreexistingValidation.title, alignment.Alignment.title, and presentation.SubsectionBase.title.

Referenced by pkg.AbstractPkg.generate(), and querying.connection.write_and_commit().

96  def write(self, validations):
97  script = '\n'.join(_ for _ in self.pages(validations) if _)
98  if script != '':
99  script = subsectionTemplate.replace('[title]', self.title)+script
100  return script
def pages(self, validations)
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def write(self, validations)
Definition: presentation.py:96

Member Data Documentation

presentation.SubsectionBase.__metaclass__ = abc.ABCMeta
staticprivate

Definition at line 93 of file presentation.py.

presentation.SubsectionBase.title