ROSE  0.11.96.11
Public Types | Static Public Member Functions | Protected Member Functions | List of all members
Sawyer::CommandLine::ConfigureDiagnosticsQuiet Class Reference

Description

Function to configure diagnostics to quiet mode.

generic.insert(Switch("quiet", 'q')
.doc("Turn off all diagnostic output except error and fatal levels."));

Definition at line 1767 of file util/Sawyer/CommandLine.h.

#include <CommandLine.h>

Inheritance diagram for Sawyer::CommandLine::ConfigureDiagnosticsQuiet:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::CommandLine::ConfigureDiagnosticsQuiet:
Collaboration graph
[legend]

Public Types

typedef SharedPointer< ConfigureDiagnosticsQuietPtr
 Reference counting pointer for this class.
 
- Public Types inherited from Sawyer::CommandLine::SwitchAction
typedef SharedPointer< SwitchActionPtr
 Reference counting pointer for this class.
 

Static Public Member Functions

static Ptr instance (Message::Facilities &facilities)
 Allocating constructor. More...
 

Protected Member Functions

 ConfigureDiagnosticsQuiet (Message::Facilities &facilities)
 
virtual void operator() (const ParserResult &)
 

Additional Inherited Members

- Public Member Functions inherited from Sawyer::CommandLine::SwitchAction
void run (const ParserResult &parserResult)
 Runs the action. More...
 
- Public Member Functions inherited from Sawyer::SharedObject
 SharedObject ()
 Default constructor. More...
 
 SharedObject (const SharedObject &)
 Copy constructor. More...
 
virtual ~SharedObject ()
 Virtual destructor. More...
 
SharedObjectoperator= (const SharedObject &)
 Assignment. More...
 

Member Function Documentation

◆ instance()

static Ptr Sawyer::CommandLine::ConfigureDiagnosticsQuiet::instance ( Message::Facilities facilities)
inlinestatic

Allocating constructor.

Returns a pointer to a new ConfigureDiagnosticsQuiet object. Users will most likely want to use the configureDiagnosticsQuiet factory instead, which requires less typing.

See also
Command line action factories, and the SwitchAction class.

Definition at line 1784 of file util/Sawyer/CommandLine.h.


The documentation for this class was generated from the following file:
Sawyer::CommandLine::configureDiagnosticsQuiet
ConfigureDiagnosticsQuiet::Ptr configureDiagnosticsQuiet(Message::Facilities &)
Factory for switch action.
Sawyer::Message::mfacilities
Facilities mfacilities
Library-provided facility group.