ROSE 0.11.145.147
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."));
Describes one command-line switch.
ConfigureDiagnosticsQuiet::Ptr configureDiagnosticsQuiet(Message::Facilities &)
Factory for switch action.
Facilities mfacilities
Library-provided facility group.

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

#include <Sawyer/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.
 

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.
 
- Public Member Functions inherited from Sawyer::SharedObject
 SharedObject ()
 Default constructor.
 
 SharedObject (const SharedObject &)
 Copy constructor.
 
virtual ~SharedObject ()
 Virtual destructor.
 
SharedObjectoperator= (const SharedObject &)
 Assignment.
 

Member Typedef Documentation

◆ Ptr

Reference counting pointer for this class.

Definition at line 1778 of file Sawyer/CommandLine.h.

Constructor & Destructor Documentation

◆ ConfigureDiagnosticsQuiet()

Sawyer::CommandLine::ConfigureDiagnosticsQuiet::ConfigureDiagnosticsQuiet ( Message::Facilities facilities)
inlineprotected

Definition at line 1772 of file Sawyer/CommandLine.h.

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 Sawyer/CommandLine.h.

◆ operator()()

virtual void Sawyer::CommandLine::ConfigureDiagnosticsQuiet::operator() ( const ParserResult )
protectedvirtual

The documentation for this class was generated from the following file: