molecular
Public Member Functions | Protected Attributes | Friends | List of all members
molecular::util::CommandLineParser::Arg Class Referenceabstract

#include <CommandLineParser.h>

Inheritance diagram for molecular::util::CommandLineParser::Arg:
molecular::util::CommandLineParser::OptionBase molecular::util::CommandLineParser::PositionalArgBase molecular::util::CommandLineParser::Flag molecular::util::CommandLineParser::Option< T > molecular::util::CommandLineParser::PositionalArg< T > molecular::util::CommandLineParser::HelpFlag

Public Member Functions

 Arg (const std::string &help)
 
virtual ~Arg ()=default
 
virtual void PrintHelp ()=0
 
 operator bool ()
 

Protected Attributes

std::string mHelp
 
bool mPresent = false
 

Friends

class CommandLineParser
 

Constructor & Destructor Documentation

molecular::util::CommandLineParser::Arg::Arg ( const std::string &  help)
virtual molecular::util::CommandLineParser::Arg::~Arg ( )
virtualdefault

Member Function Documentation

molecular::util::CommandLineParser::Arg::operator bool ( )
inline
virtual void molecular::util::CommandLineParser::Arg::PrintHelp ( )
pure virtual

Friends And Related Function Documentation

friend class CommandLineParser
friend

Member Data Documentation

std::string molecular::util::CommandLineParser::Arg::mHelp
protected
bool molecular::util::CommandLineParser::Arg::mPresent = false
protected

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