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 93 of file presentation.py.

Constructor & Destructor Documentation

def presentation.SubsectionBase.__init__ (   self,
  title 
)

Definition at line 95 of file presentation.py.

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

Member Function Documentation

def presentation.SubsectionBase.pages (   self,
  validations 
)

Definition at line 103 of file presentation.py.

Referenced by presentation.SubsectionBase.write().

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

Definition at line 97 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().

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

Member Data Documentation

presentation.SubsectionBase.__metaclass__ = abc.ABCMeta
staticprivate

Definition at line 94 of file presentation.py.

presentation.SubsectionBase.title