Documentation for OpenFLUID 2.2.0
openfluid::utils::CommandLineSection Class Reference

#include <utils/StructuredCommandLineParser.hpp>

Public Member Functions

 CommandLineSection (const std::string &Name)
 
std::string getName () const
 
std::vector< CommandLineCommandgetCommands () const
 
void addCommand (const CommandLineCommand &Command)
 

Constructor & Destructor Documentation

◆ CommandLineSection()

openfluid::utils::CommandLineSection::CommandLineSection ( const std::string &  Name)
inline

Instanciates a command section with the given parameters

Parameters
[in]NameThe long name of the command section

Member Function Documentation

◆ addCommand()

void openfluid::utils::CommandLineSection::addCommand ( const CommandLineCommand Command)
inline

Adds a command to the section

Parameters
[in]CommandThe 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: