Command line option with list argument: repeated calls will add to list. More...
Public Member Functions | |
List (std::list< T > &list) | |
Constructor. | |
virtual | ~List () |
Virtual destructor. | |
virtual void | Evaluate (const size_t argc, const char *argv[], size_t &index) |
Evaluate and set associated option. | |
virtual mxml_node_t * | MakeXML (mxml_node_t *const parent) const |
Virtual function that returns an XML tree describing this option. | |
Private Attributes | |
std::list< T > * | m_pList |
Pointer to associated variable. |
Command line option with list argument: repeated calls will add to list.
Definition at line 463 of file cmtkCommandLine.h.
cmtk::CommandLine::List< T >::List | ( | std::list< T > & | list ) | [inline] |
Constructor.
Definition at line 469 of file cmtkCommandLine.h.
virtual cmtk::CommandLine::List< T >::~List | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 472 of file cmtkCommandLine.h.
void cmtk::CommandLine::List< T >::Evaluate | ( | const size_t | argc, |
const char * | argv[], | ||
size_t & | index | ||
) | [virtual] |
Evaluate and set associated option.
Implements cmtk::CommandLine::Item.
Definition at line 36 of file cmtkCommandLineList.txx.
mxml_node_t * cmtk::CommandLine::List< T >::MakeXML | ( | mxml_node_t *const | parent ) | const [virtual] |
Virtual function that returns an XML tree describing this option.
Implements cmtk::CommandLine::Item.
Definition at line 52 of file cmtkCommandLineList.txx.
References NULL.
std::list<T>* cmtk::CommandLine::List< T >::m_pList [private] |
Pointer to associated variable.
Definition at line 482 of file cmtkCommandLine.h.