JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces
juce_ConsoleApplication.h File Reference

Go to the source code of this file.

Classes

struct  juce::ArgumentList
 Holds a list of command-line arguments, and provides useful methods for searching and operating on them. More...
 
struct  juce::ArgumentList::Argument
 One of the arguments in an ArgumentList. More...
 
struct  juce::ConsoleApplication
 Represents a the set of commands that a console app can perform, and provides helper functions for performing them. More...
 
struct  juce::ConsoleApplication::Command
 Represents a command that can be executed if its command-line arguments are matched. More...
 

Namespaces

namespace  juce
 JUCE Namespace.
 

Class Documentation

◆ juce::ConsoleApplication::Command

struct juce::ConsoleApplication::Command

Represents a command that can be executed if its command-line arguments are matched.

See also
ConsoleApplication::addCommand(), ConsoleApplication::findAndRunCommand()

@tags{Core}

Definition at line 246 of file juce_ConsoleApplication.h.

Class Members
String argumentDescription A description of the command-line arguments needed for this command, which will be printed as part of the help text.
function< void(const ArgumentList &)> command The actual command that should be invoked to perform this action.
String commandOption The option string that must appear in the argument list for this command to be invoked.

This can also be a list of different versions separated by pipes, e.g. "--help|-h"

String longDescription A longer description of this command, for use in extended help.
String shortDescription A short (one line) description of this command, which can be printed by ConsoleApplication::printCommandList().