cisst-saw
Loading...
Searching...
No Matches
cmnCommandLineOptions::OptionOneValue< _elementType > Class Template Reference

#include <cmnCommandLineOptions.h>

Inheritance diagram for cmnCommandLineOptions::OptionOneValue< _elementType >:
cmnCommandLineOptions::OptionOneValueBase cmnCommandLineOptions::OptionBase

Protected Member Functions

 OptionOneValue (const std::string &shortOption, const std::string &longOption, const std::string &description, RequiredType required, _elementType *value)
bool SetValue (const char *value)
std::string PrintValues (void) const

Protected Attributes

_elementType * Value

Friends

class cmnCommandLineOptions

Additional Inherited Members

Public Member Functions inherited from cmnCommandLineOptions::OptionOneValueBase
 OptionOneValueBase (const std::string &shortOption, const std::string &longOption, const std::string &description, RequiredType required)
virtual ~OptionOneValueBase ()
Public Member Functions inherited from cmnCommandLineOptions::OptionBase
 OptionBase (const std::string &shortOption, const std::string &longOption, const std::string &description, RequiredType required)
virtual ~OptionBase ()
Public Attributes inherited from cmnCommandLineOptions::OptionBase
std::string Short
std::string Long
std::string Description
RequiredType Required
bool Set

Constructor & Destructor Documentation

◆ OptionOneValue()

template<typename _elementType>
cmnCommandLineOptions::OptionOneValue< _elementType >::OptionOneValue ( const std::string & shortOption,
const std::string & longOption,
const std::string & description,
RequiredType required,
_elementType * value )
inlineprotected

Member Function Documentation

◆ PrintValues()

template<typename _elementType>
std::string cmnCommandLineOptions::OptionOneValue< _elementType >::PrintValues ( void ) const
inlineprotectedvirtual

◆ SetValue()

template<typename _elementType>
bool cmnCommandLineOptions::OptionOneValue< _elementType >::SetValue ( const char * value)
inlineprotectedvirtual

◆ cmnCommandLineOptions

template<typename _elementType>
friend class cmnCommandLineOptions
friend

Member Data Documentation

◆ Value

template<typename _elementType>
_elementType* cmnCommandLineOptions::OptionOneValue< _elementType >::Value
protected

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