Key-to-action list for enumeration parameter groups. More...
#include <cmtkCommandLine.h>


Public Types | |
| typedef SmartPointer < EnumGroup< TDataType > > | SmartPtr |
| Smart pointer to this class. | |
Public Member Functions | |
| EnumGroup (TDataType *const variable) | |
| Constructor. | |
| Item::SmartPtr & | AddSwitch (const Key &key, const TDataType &value, const std::string &comment) |
| Add switch to this group. | |
Private Attributes | |
| TDataType * | m_Variable |
| Pointer to the variable that holds the enum value. | |
Key-to-action list for enumeration parameter groups.
Definition at line 935 of file cmtkCommandLine.h.
| typedef SmartPointer< EnumGroup<TDataType> > cmtk::CommandLine::EnumGroup< TDataType >::SmartPtr |
Smart pointer to this class.
Reimplemented from cmtk::CommandLine::EnumGroupBase.
Definition at line 941 of file cmtkCommandLine.h.
| cmtk::CommandLine::EnumGroup< TDataType >::EnumGroup | ( | TDataType *const | variable ) | [inline] |
Constructor.
| variable | The variable handled by this enum group. |
Definition at line 944 of file cmtkCommandLine.h.
| Item::SmartPtr& cmtk::CommandLine::EnumGroup< TDataType >::AddSwitch | ( | const Key & | key, |
| const TDataType & | value, | ||
| const std::string & | comment | ||
| ) | [inline] |
Add switch to this group.
Definition at line 952 of file cmtkCommandLine.h.
TDataType* cmtk::CommandLine::EnumGroup< TDataType >::m_Variable [private] |
Pointer to the variable that holds the enum value.
Definition at line 961 of file cmtkCommandLine.h.
1.7.2