Splitter class is used for splitting class and namespace web pages to reduce access time. More...
Public Member Functions | |
def | __init__ |
def | Backup |
def | CreateFirstPage |
def | CreatePage |
def | CreatePages |
def | CreateTab |
def | GetContent |
def | GetDivHeader |
def | GetFooter |
def | GetHeader |
def | GetNsC |
def | WritePage |
Public Attributes | |
backupPrefix | |
chr | |
classImg | |
contentPos | |
contentStamp | |
fileName | |
filePath | |
footerPos | |
footerStamp | |
headerPos | |
headerStamp | |
List | |
minD | |
namespaceImg | |
parsedSource | |
prefix | |
source | |
Private Member Functions | |
def | __GetDepth |
def | __GetInfo |
def | __GetLink |
def | __GetName |
def | __IsLink |
Splitter class is used for splitting class and namespace web pages to reduce access time.
Definition at line 5 of file Splitter.py.
def Splitter.Splitter.__init__ | ( | self, | |
path, | |||
fileName, | |||
prefix | |||
) |
Definition at line 9 of file Splitter.py.
|
private |
This method returns depth of the node. To determine this, '_' character is used.
Definition at line 86 of file Splitter.py.
References Splitter.Splitter.chr, prof2calltree.count, and Splitter.Splitter.minD.
Referenced by Splitter.Splitter.GetNsC().
|
private |
|
private |
This method returns node link.
Definition at line 82 of file Splitter.py.
Referenced by Splitter.Splitter.GetNsC().
|
private |
|
private |
This method returns true if it has link.
Definition at line 77 of file Splitter.py.
References if().
Referenced by Splitter.Splitter.GetNsC().
def Splitter.Splitter.Backup | ( | self | ) |
Definition at line 55 of file Splitter.py.
References Splitter.Splitter.backupPrefix, ConfigFiles.ConfigFiles.CreateTab(), Splitter.Splitter.CreateTab(), Splitter.Splitter.fileName, WorkFlow.WorkFlowConnector.fileName, DTReadOutMappingHandler.fileName, DTStatusFlagHandler.fileName, DTMtimeHandler.fileName, DTT0Handler.fileName, DTDeadFlagHandler.fileName, DTTPGParametersHandler.fileName, DTTtrigHandler.fileName, DTRangeT0Handler.fileName, DTPerformanceHandler.fileName, EcalPnGraphs.fileName, ConfigBuilder.ConfigBuilder.fileName, Splitter.Splitter.GetContent(), Splitter.Splitter.GetDivHeader(), Splitter.Splitter.GetFooter(), Splitter.Splitter.GetHeader(), CocoaDaqRootEvent.GetHeader(), PackageSplitter.PackageSplitter.prefix, Splitter.Splitter.prefix, ConfigFiles.ConfigFiles.prefix, cond::PfnEditor.prefix, MuonGeometrySanityCheck.prefix, Splitter.Splitter.source, condformats_serialization_generate.SerializationCodeGenerator.source, BeautifulSoup.ResultSet.source, and Splitter.Splitter.WritePage().
Referenced by Splitter.Splitter.CreatePages().
def Splitter.Splitter.CreateFirstPage | ( | self, | |
letter | |||
) |
Definition at line 140 of file Splitter.py.
References Splitter.Splitter.CreatePage(), Splitter.Splitter.fileName, WorkFlow.WorkFlowConnector.fileName, DTPerformanceHandler.fileName, DTReadOutMappingHandler.fileName, DTTtrigHandler.fileName, DTRangeT0Handler.fileName, DTStatusFlagHandler.fileName, DTT0Handler.fileName, DTDeadFlagHandler.fileName, DTTPGParametersHandler.fileName, DTMtimeHandler.fileName, EcalPnGraphs.fileName, ConfigBuilder.ConfigBuilder.fileName, Splitter.Splitter.GetNsC(), Splitter.Splitter.parsedSource, and Splitter.Splitter.WritePage().
Referenced by Splitter.Splitter.CreatePages().
def Splitter.Splitter.CreatePage | ( | self, | |
current, | |||
itemList | |||
) |
This method creates web page.
Definition at line 115 of file Splitter.py.
References ConfigFiles.ConfigFiles.CreateTab(), Splitter.Splitter.CreateTab(), Splitter.Splitter.GetDivHeader(), Splitter.Splitter.GetFooter(), Splitter.Splitter.GetHeader(), and CocoaDaqRootEvent.GetHeader().
Referenced by Splitter.Splitter.CreateFirstPage(), and Splitter.Splitter.CreatePages().
def Splitter.Splitter.CreatePages | ( | self | ) |
Definition at line 130 of file Splitter.py.
References Splitter.Splitter.Backup(), Splitter.Splitter.CreateFirstPage(), Splitter.Splitter.CreatePage(), Splitter.Splitter.GetNsC(), Splitter.Splitter.parsedSource, PackageSplitter.PackageSplitter.prefix, Splitter.Splitter.prefix, ConfigFiles.ConfigFiles.prefix, cond::PfnEditor.prefix, MuonGeometrySanityCheck.prefix, and Splitter.Splitter.WritePage().
def Splitter.Splitter.CreateTab | ( | self, | |
current | |||
) |
Definition at line 92 of file Splitter.py.
References Splitter.Splitter.GetNsC(), Splitter.Splitter.List, Splitter.Splitter.parsedSource, PackageSplitter.PackageSplitter.prefix, Splitter.Splitter.prefix, ConfigFiles.ConfigFiles.prefix, cond::PfnEditor.prefix, and MuonGeometrySanityCheck.prefix.
Referenced by Splitter.Splitter.Backup(), and Splitter.Splitter.CreatePage().
def Splitter.Splitter.GetContent | ( | self | ) |
This method returns content of the input page
Definition at line 46 of file Splitter.py.
References Splitter.Splitter.contentPos, Splitter.Splitter.footerPos, Splitter.Splitter.source, condformats_serialization_generate.SerializationCodeGenerator.source, and BeautifulSoup.ResultSet.source.
Referenced by Splitter.Splitter.Backup(), and Splitter.Splitter.GetNsC().
def Splitter.Splitter.GetDivHeader | ( | self | ) |
Definition at line 39 of file Splitter.py.
References Splitter.Splitter.contentPos, Splitter.Splitter.headerPos, Splitter.Splitter.source, condformats_serialization_generate.SerializationCodeGenerator.source, and BeautifulSoup.ResultSet.source.
Referenced by Splitter.Splitter.Backup(), and Splitter.Splitter.CreatePage().
def Splitter.Splitter.GetFooter | ( | self | ) |
This method returns footer of the input page
Definition at line 42 of file Splitter.py.
References Splitter.Splitter.footerPos, Splitter.Splitter.source, condformats_serialization_generate.SerializationCodeGenerator.source, and BeautifulSoup.ResultSet.source.
Referenced by Splitter.Splitter.Backup(), and Splitter.Splitter.CreatePage().
def Splitter.Splitter.GetHeader | ( | self | ) |
Definition at line 36 of file Splitter.py.
References Splitter.Splitter.headerPos, Splitter.Splitter.source, condformats_serialization_generate.SerializationCodeGenerator.source, and BeautifulSoup.ResultSet.source.
Referenced by Splitter.Splitter.Backup(), and Splitter.Splitter.CreatePage().
def Splitter.Splitter.GetNsC | ( | self | ) |
Definition at line 146 of file Splitter.py.
References Splitter.Splitter.__GetDepth(), Splitter.Splitter.__GetInfo(), Splitter.Splitter.__GetLink(), Splitter.Splitter.__GetName(), Splitter.Splitter.__IsLink(), python.multivaluedict.append(), Splitter.Splitter.GetContent(), Splitter.Splitter.List, and pileupCalc.upper.
Referenced by Splitter.Splitter.CreateFirstPage(), Splitter.Splitter.CreatePages(), and Splitter.Splitter.CreateTab().
def Splitter.Splitter.WritePage | ( | self, | |
fileName, | |||
data | |||
) |
Definition at line 50 of file Splitter.py.
References Splitter.Splitter.filePath.
Referenced by Splitter.Splitter.Backup(), Splitter.Splitter.CreateFirstPage(), and Splitter.Splitter.CreatePages().
Splitter.Splitter.backupPrefix |
Definition at line 14 of file Splitter.py.
Referenced by Splitter.Splitter.Backup().
Splitter.Splitter.chr |
Definition at line 23 of file Splitter.py.
Referenced by Splitter.Splitter.__GetDepth().
Splitter.Splitter.classImg |
Definition at line 19 of file Splitter.py.
Splitter.Splitter.contentPos |
Definition at line 31 of file Splitter.py.
Referenced by Splitter.Splitter.GetContent(), and Splitter.Splitter.GetDivHeader().
Splitter.Splitter.contentStamp |
Definition at line 16 of file Splitter.py.
Splitter.Splitter.fileName |
Definition at line 10 of file Splitter.py.
Referenced by Splitter.Splitter.Backup(), and Splitter.Splitter.CreateFirstPage().
Splitter.Splitter.filePath |
Definition at line 11 of file Splitter.py.
Referenced by Splitter.Splitter.WritePage().
Splitter.Splitter.footerPos |
Definition at line 32 of file Splitter.py.
Referenced by Splitter.Splitter.GetContent(), and Splitter.Splitter.GetFooter().
Splitter.Splitter.footerStamp |
Definition at line 17 of file Splitter.py.
Splitter.Splitter.headerPos |
Definition at line 30 of file Splitter.py.
Referenced by Splitter.Splitter.GetDivHeader(), and Splitter.Splitter.GetHeader().
Splitter.Splitter.headerStamp |
Definition at line 15 of file Splitter.py.
Splitter.Splitter.List |
Definition at line 24 of file Splitter.py.
Referenced by Splitter.Splitter.CreateTab(), and Splitter.Splitter.GetNsC().
Splitter.Splitter.minD |
Definition at line 22 of file Splitter.py.
Referenced by Splitter.Splitter.__GetDepth().
Splitter.Splitter.namespaceImg |
Definition at line 18 of file Splitter.py.
Splitter.Splitter.parsedSource |
Definition at line 34 of file Splitter.py.
Referenced by Splitter.Splitter.CreateFirstPage(), Splitter.Splitter.CreatePages(), and Splitter.Splitter.CreateTab().
Splitter.Splitter.prefix |
Definition at line 12 of file Splitter.py.
Referenced by Splitter.Splitter.Backup(), Splitter.Splitter.CreatePages(), and Splitter.Splitter.CreateTab().
Splitter.Splitter.source |
Definition at line 27 of file Splitter.py.
Referenced by Splitter.Splitter.Backup(), Splitter.Splitter.GetContent(), Splitter.Splitter.GetDivHeader(), Splitter.Splitter.GetFooter(), and Splitter.Splitter.GetHeader().