|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Classes | |
| struct | CliOptions |
| All options that can be set via the command line. More... | |
| struct | ConvertOptions |
| Options for the convert CLI subcommand. More... | |
Functions | |
| void | printUsage (const char *program) |
| Prints the usage / help message to stderr. | |
| bool | parseArgs (std::span< const char *const > argv, CliOptions &opts) |
| Parses the command-line arguments into a CliOptions struct. | |
| bool | parseArgs (int argc, const char *const *argv, CliOptions &opts) |
| C-style entry point overload forwarding to the span interface. | |
| int | executeConvert (const ConvertOptions &opts) |
| Executes the structure format conversion workflow. | |
| int correlation::cli::executeConvert | ( | const ConvertOptions & | opts | ) |
Executes the structure format conversion workflow.
| [in] | opts | Parsed convert options. |


|
inline |
C-style entry point overload forwarding to the span interface.

| bool correlation::cli::parseArgs | ( | std::span< const char *const > | argv, |
| CliOptions & | opts ) |
Parses the command-line arguments into a CliOptions struct.
| argv | Argument values. |
| opts | [out] Filled on success. |


| void correlation::cli::printUsage | ( | const char * | program | ) |
Prints the usage / help message to stderr.
| program | Name of the executable (argv[0]). |
