CMS 3D CMS Logo

bookConverter::OptionParser Class Reference

List of all members.

Public Member Functions

def __init__


Detailed Description

OptionParser is main class to parse options.

Definition at line 4 of file bookConverter.py.


Member Function Documentation

def bookConverter::OptionParser::__init__ (   self  ) 

Definition at line 8 of file bookConverter.py.

00008                     :
00009     optparse.OptionParser.__init__(self, usage="%prog --help or %prog [options] file", version="%prog 0.0.1", conflict_handler="resolve")
00010     self.add_option("--src", action="store", type="string", dest="src", help="specify source XML file")
00011     self.add_option("--min", action="store", type="int", dest="min", help="Minimum length to measure")
00012     self.add_option("--max", action="store", type="int", dest="max", help="Maximum length to measure")
00013     self.add_option("--cid", action="store", type="int", dest="cid", help="Apply combination ID")
00014     self.add_option("--xsd", action="store_true", dest="xsd", help="Create XML Schema fragment")
00015 
def read_data():


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:36:16 2009 for CMSSW by  doxygen 1.5.4