#include <utils/StructuredCommandLineParser.hpp>
◆ CommandLineSection()
openfluid::utils::CommandLineSection::CommandLineSection |
( |
const std::string & |
Name | ) |
|
|
inline |
Instanciates a command section with the given parameters
- Parameters
-
[in] | Name | The long name of the command section |
◆ addCommand()
void openfluid::utils::CommandLineSection::addCommand |
( |
const CommandLineCommand & |
Command | ) |
|
|
inline |
Adds a command to the section
- Parameters
-
[in] | Command | The command to add |
◆ getCommands()
std::vector<CommandLineCommand> openfluid::utils::CommandLineSection::getCommands |
( |
| ) |
const |
|
inline |
Returns the commands
- Returns
- The list of commands
◆ getName()
std::string openfluid::utils::CommandLineSection::getName |
( |
| ) |
const |
|
inline |
Returns the name of the command
- Returns
- The name (e.g. "search")
The documentation for this class was generated from the following file: