ROSE  0.9.10.135
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 1720 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. More...
 
- Public Types inherited from Sawyer::CommandLine::SwitchAction
typedef SharedPointer< SwitchActionPtr
 Reference counting pointer for this class. More...
 

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 Typedef Documentation

Reference counting pointer for this class.

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

Member Function Documentation

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 1737 of file util/Sawyer/CommandLine.h.


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