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

Constructor & Destructor Documentation

def presentation.SubsectionBase.__init__ (   self,
  title 
)

Definition at line 97 of file presentation.py.

97  def __init__(self, title):
98  self.title = title
def __init__(self, title)
Definition: presentation.py:97

Member Function Documentation

def presentation.SubsectionBase.pages (   self,
  validations 
)

Definition at line 105 of file presentation.py.

Referenced by presentation.SubsectionBase.write().

105  def pages(self, validations):
106  pass
107 
def pages(self, validations)
def presentation.SubsectionBase.write (   self,
  validations 
)

Definition at line 99 of file presentation.py.

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

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

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

Member Data Documentation

presentation.SubsectionBase.__metaclass__ = abc.ABCMeta
staticprivate

Definition at line 96 of file presentation.py.

presentation.SubsectionBase.title