Package twisted :: Package scripts :: Module mktap :: Class FirstPassOptions
[show private | hide private]
[frames | no frames]

Class FirstPassOptions

  UserDict --+    
             |    
       Options --+
                 |
GeneralOptions --+
                 |
                FirstPassOptions


Method Summary
  __init__(self)
  __cmp__(self, dict)
(inherited from UserDict)
  __contains__(self, key)
(inherited from UserDict)
  __delitem__(self, key)
(inherited from UserDict)
  __getattr__(self, attr)
I make sure that old style 'optObj.option' access still works. (inherited from Options)
  __getitem__(self, key)
(inherited from UserDict)
  __hash__(self)
(inherited from Options)
  __len__(self)
(inherited from UserDict)
  __repr__(self)
(inherited from UserDict)
  __setitem__(self, key, item)
(inherited from UserDict)
  __str__(self, width)
(inherited from Options)
  clear(self)
(inherited from UserDict)
  copy(self)
(inherited from UserDict)
  get(self, key, failobj)
(inherited from UserDict)
  has_key(self, key)
(inherited from UserDict)
  init(self, tapLookup)
(inherited from GeneralOptions)
  items(self)
(inherited from UserDict)
  iteritems(self)
(inherited from UserDict)
  iterkeys(self)
(inherited from UserDict)
  itervalues(self)
(inherited from UserDict)
  keys(self)
(inherited from UserDict)
  opt_h(self)
Display this message
  opt_h(self)
Display this message (inherited from GeneralOptions)
  opt_help(self)
Display this message
  opt_version(self)
(inherited from Options)
  parseArgs(self, *rest)
  parseOptions(self, options)
The guts of the command-line parser. (inherited from Options)
  popitem(self)
(inherited from UserDict)
  postOptions(self)
I am called after the options are parsed.
  setdefault(self, key, failobj)
(inherited from UserDict)
  update(self, dict)
(inherited from UserDict)
  values(self)
(inherited from UserDict)

Method Details

opt_h(self)

Display this message

opt_help(self)

Display this message

postOptions(self)

I am called after the options are parsed.

Override this method in your subclass to do something after the options have been parsed and assigned, like validate that all options are sane.
Overrides:
twisted.python.usage.Options.postOptions (inherited documentation)

Generated by Epydoc 1.1 on Fri Jun 27 03:46:00 2003 http://epydoc.sf.net