ewmscp  ..
Public Member Functions | List of all members
options::OptionsForTApplication Class Reference

specific class to give the options for a TApplication as ForeignApplicationOptions to the option parser More...

#include <OptionsForTApplication.h>

Inheritance diagram for options::OptionsForTApplication:
[legend]
Collaboration diagram for options::OptionsForTApplication:
[legend]

Public Member Functions

 OptionsForTApplication (const char *aName)
 
- Public Member Functions inherited from options::ForeignApplicationOptions
 ForeignApplicationOptions (const char *aName)
 construct an object of typs ForeignApplicationOptions More...
 
void fRegister (const ForeignOption *aOption)
 add aOption to the list of options that were set. More...
 
void fFinalize ()
 build the internal argument vector for the call to the external parser More...
 
template<typename InputIt >
void fFinalize (InputIt from, InputIt to)
 build the internal argument vector for the call to the external parser and adds strings from the iterators in the range [from,to) More...
 
void fAddToArgc (const char *aString)
 add string to the argument vector for the external parser More...
 
void fAddToArgc (const std::string &aString)
 add string to the argument vector for the external parser More...
 
char ** Argv ()
 return an argument vector for use with the external parser More...
 
int * Argc ()
 return a pointer to the argument count for use with the external parser More...
 

Detailed Description

specific class to give the options for a TApplication as ForeignApplicationOptions to the option parser

Definition at line 10 of file OptionsForTApplication.h.

Constructor & Destructor Documentation

◆ OptionsForTApplication()

options::OptionsForTApplication::OptionsForTApplication ( const char *  aName)

Definition at line 4 of file OptionsForTApplication.cpp.

5  new ForeignOption(this, 'b', "bForTApplication", "run in batch mode without graphics", 0, "-b");
6  new ForeignOption(this, 'x', "xForTApplication", "exit on exception", 0, "-x");
7  new ForeignOption(this, 'n', "nForTApplication", "do not execute logon and logoff macros as specified in .rootrc", 0, "-n");
8  new ForeignOption(this, 'q', "qForTApplication", "exit after processing command line macro files", 0, "-n");
9  new ForeignOption(this, 'l', "lForTApplication", "do not show splash screen", 0, "-l");
10 
11  new ForeignOption(this, '\0', "config", "print ./configure options", 0, "-config");
12  new ForeignOption(this, '\0', "memstat", "run with memory usage monitoring", 0, "-memstat");
13  }

The documentation for this class was generated from the following files:
options::ForeignApplicationOptions::ForeignApplicationOptions
ForeignApplicationOptions(const char *aName)
construct an object of typs ForeignApplicationOptions
Definition: OptionsWithForeignParser.cpp:8