#include <optional>#include <utility>#include <QtCore/QCommandLineParser>#include <QtCore/QStringList>Go to the source code of this file.
Classes | |
| struct | QGCCommandLineParser::CommandLineParseResult |
| Result of parsing command-line arguments. More... | |
Namespaces | |
| namespace | QGCCommandLineParser |
Enumerations | |
| enum class | QGCCommandLineParser::AppMode { QGCCommandLineParser::Gui , QGCCommandLineParser::BootTest } |
| Application execution mode. More... | |
Functions | |
| CommandLineParseResult | QGCCommandLineParser::parseCommandLine () |
| Parse command-line arguments (requires existing QCoreApplication). | |
| CommandLineParseResult | QGCCommandLineParser::parse (int argc, char *argv[]) |
| Parse command-line arguments with automatic QCoreApplication management. | |
| std::optional< int > | QGCCommandLineParser::handleParseResult (const CommandLineParseResult &result) |
| Handle early exit conditions (help, version, error). | |
| AppMode | QGCCommandLineParser::determineAppMode (const CommandLineParseResult &args) |
| Determine the application mode from parsed arguments. | |
| std::optional< quint32 > | QGCCommandLineParser::parseSystemId (const QString &value) |
| Validate a –system-id value. | |
| std::optional< std::pair< uint, uint > > | QGCCommandLineParser::parseUnitTestShard (const QString &value) |
| Validate a –unittest-shard value of the form <index>/<count>. | |