Public Member Functions | List of all members
openfluid::utils::CommandLineOption Class Reference

#include <utils/CommandLineParser.hpp>

Public Member Functions

 CommandLineOption ()
 
 CommandLineOption (const std::string &LongName, const std::string &ShortName, const std::string &HelpText, bool ValueRequired=false)
 
std::string getHelpText () const
 
std::string getLongName () const
 
std::string getShortName () const
 
std::string getValue () const
 
bool isActive () const
 
bool isValueRequired () const
 
void activate (const std::string &Value="")
 
void reset ()
 

Constructor & Destructor Documentation

openfluid::utils::CommandLineOption::CommandLineOption ( )
inline
openfluid::utils::CommandLineOption::CommandLineOption ( const std::string &  LongName,
const std::string &  ShortName,
const std::string &  HelpText,
bool  ValueRequired = false 
)
inline

Member Function Documentation

void openfluid::utils::CommandLineOption::activate ( const std::string &  Value = "")
inline
std::string openfluid::utils::CommandLineOption::getHelpText ( ) const
inline
std::string openfluid::utils::CommandLineOption::getLongName ( ) const
inline
std::string openfluid::utils::CommandLineOption::getShortName ( ) const
inline
std::string openfluid::utils::CommandLineOption::getValue ( ) const
inline
bool openfluid::utils::CommandLineOption::isActive ( ) const
inline
bool openfluid::utils::CommandLineOption::isValueRequired ( ) const
inline
void openfluid::utils::CommandLineOption::reset ( )
inline

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