7 #ifndef ARGOS_COMMAND_LINE_ARG_PARSER_H
8 #define ARGOS_COMMAND_LINE_ARG_PARSER_H
11 class CARGoSCommandLineArgParser;
14 #include <argos3/core/utility/configuration/command_line_arg_parser.h>
98 return m_strExperimentConfigFile;
119 return ! m_bNonColoredLog;
129 return m_bHelpWanted;
135 std::string m_strExperimentConfigFile;
136 std::string m_strQuery;
137 std::string m_strLogFileName;
138 std::ofstream m_cLogFile;
139 std::streambuf* m_pcInitLogStream;
140 std::string m_strLogErrFileName;
141 std::ofstream m_cLogErrFile;
142 std::streambuf* m_pcInitLogErrStream;
143 bool m_bNonColoredLog;
145 bool m_bVersionWanted;
signed int SInt32
32-bit signed integer.
The namespace containing all the ARGoS related code.
The command line argument parser used by the main ARGoS executable.
virtual void Parse(SInt32 n_argc, char **ppch_argv)
Parses the command line.
EAction GetAction()
Returns the action parsed by Parse().
bool IsLogColored()
Returns true if color is enabled for LOG and LOGERR.
bool IsHelpWanted()
Returns true if color if a help message must be displayed.
CARGoSCommandLineArgParser()
Class constructor.
EAction
The possible actions that can be done.
virtual ~CARGoSCommandLineArgParser()
Class destructor.
const std::string & GetExperimentConfigFile()
Returns the experiment configuration file as parsed by Parse().
virtual void PrintVersion()
Prints the current ARGoS version and release.
virtual void PrintUsage(CARGoSLog &c_log)
Prints usage information to the wanted log.
const std::string & GetQuery()
Returns the query on the plugins as parsed by Parse().
Easy-to-use command line argument parser.