OFCmdParam Struct Reference

Internal structure to store valid command line parameters. More...

List of all members.

Public Types

enum  E_ParamMode { PM_Mandatory, PM_Optional, PM_MultiMandatory, PM_MultiOptional }
 mode specifying parameter's cardinality More...

Public Member Functions

 OFCmdParam (const char *param, const char *descr, const E_ParamMode mode)
 constructor

Public Attributes

const OFString ParamName
 parameter name
const OFString ParamDescription
 parameter description
const E_ParamMode ParamMode
 parameter's cardinality mode

Private Member Functions

OFCmdParamoperator= (const OFCmdParam &arg)
 private undefined copy assignment operator


Detailed Description

Internal structure to store valid command line parameters.

Parameters are all command line arguments which are no options (e.g. file names).

Definition at line 75 of file ofcmdln.h.


Member Enumeration Documentation

enum OFCmdParam::E_ParamMode

mode specifying parameter's cardinality

Enumerator:
PM_Mandatory  parameter is required (# = 1), "option"
PM_Optional  parameter is optional (# = 0..1), "[option]"
PM_MultiMandatory  parameter is required, more than one value is allowed (# = 1..n), "option..."
PM_MultiOptional  parameter is optional, more than one value is allowed (# = 0..n), "[option...]"

Definition at line 80 of file ofcmdln.h.


Constructor & Destructor Documentation

OFCmdParam::OFCmdParam ( const char *  param,
const char *  descr,
const E_ParamMode  mode 
) [inline]

constructor

Parameters:
param parameter name
descr parameter description
mode parameter's cardinality mode

Definition at line 98 of file ofcmdln.h.


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


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1