molecular
Public Member Functions | List of all members
molecular::util::CommandLineParser::PositionalArgBase Class Referenceabstract

#include <CommandLineParser.h>

Inheritance diagram for molecular::util::CommandLineParser::PositionalArgBase:
molecular::util::CommandLineParser::Arg molecular::util::CommandLineParser::PositionalArg< T >

Public Member Functions

 PositionalArgBase (CommandLineParser &parser, const std::string &name, const std::string &help)
 
virtual void SetValue (const std::string &arg)=0
 
void PrintHelp () override
 
const std::string & GetName ()
 
- Public Member Functions inherited from molecular::util::CommandLineParser::Arg
 Arg (const std::string &help)
 
virtual ~Arg ()=default
 
 operator bool ()
 

Additional Inherited Members

- Protected Attributes inherited from molecular::util::CommandLineParser::Arg
std::string mHelp
 
bool mPresent = false
 

Constructor & Destructor Documentation

molecular::util::CommandLineParser::PositionalArgBase::PositionalArgBase ( CommandLineParser parser,
const std::string &  name,
const std::string &  help 
)

Member Function Documentation

const std::string& molecular::util::CommandLineParser::PositionalArgBase::GetName ( )
inline
void molecular::util::CommandLineParser::PositionalArgBase::PrintHelp ( )
overridevirtual
virtual void molecular::util::CommandLineParser::PositionalArgBase::SetValue ( const std::string &  arg)
pure virtual

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