lsst.pipe.base  13.0-9-g1c7d9c5+3
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
lsst.pipe.base.argumentParser.DynamicDatasetType Class Reference

Abstract base class for a dataset type determined from parsed command-line arguments. More...

Inheritance diagram for lsst.pipe.base.argumentParser.DynamicDatasetType:
lsst.pipe.base.argumentParser.ConfigDatasetType lsst.pipe.base.argumentParser.DatasetArgument

Public Member Functions

def addArgument
 Add a command-line argument to specify dataset type name, if wanted. More...
 
def getDatasetType
 

Detailed Description

Abstract base class for a dataset type determined from parsed command-line arguments.

Definition at line 188 of file argumentParser.py.

Member Function Documentation

def lsst.pipe.base.argumentParser.DynamicDatasetType.addArgument (   self,
  parser,
  idName 
)

Add a command-line argument to specify dataset type name, if wanted.

Parameters
[in]parserargument parser to which to add argument
[in]idNamename of data ID argument, without the leading "--", e.g. "id"

The default implementation does nothing

Definition at line 192 of file argumentParser.py.

def lsst.pipe.base.argumentParser.DynamicDatasetType.getDatasetType (   self,
  namespace 
)
Return the dataset type as a string, based on parsed command-line arguments

@param[in] namespace  parsed command

Definition at line 203 of file argumentParser.py.


The documentation for this class was generated from the following file: