/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
DybPython::dbiscan::Args Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 parser
 args

Detailed Description

Usage::

     a = Args(__doc__)
     a.parser.add_argument(..   ## between instanciation and the call can add further arguments 
     args = a()
 

Definition at line 66 of file dbiscan.py.


Constructor & Destructor Documentation

def DybPython::dbiscan::Args::__init__ (   self,
  doc,
  kwa 
)

Definition at line 75 of file dbiscan.py.

00076                                   :
00077         parser =  argparse.ArgumentParser(description=doc, formatter_class=argparse.RawDescriptionHelpFormatter)
00078         parser.add_argument( '-l', '--level',     default="INFO" ,      help='Logging level. Default %(default)s ')
00079         self.parser = parser


Member Function Documentation

def DybPython::dbiscan::Args::__call__ (   self)
:return: args

Definition at line 80 of file dbiscan.py.

00081                       :
00082         """
00083         :return: args
00084         """
00085         args = self.parser.parse_args()
00086         self.args = args
00087         logging.basicConfig(level=getattr(logging,args.level.upper()))
00088         log.info( "args %s " % pformat(vars(args)) )
00089         return args
00090 
00091 


Member Data Documentation

Definition at line 75 of file dbiscan.py.

Definition at line 82 of file dbiscan.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:55:40 for DybPython by doxygen 1.7.4