ROSE 0.11.145.147
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Rose::Color::ColorizationMerge Class Reference

Description

Definition at line 107 of file Color.h.

Inheritance diagram for Rose::Color::ColorizationMerge:
Inheritance graph
[legend]
Collaboration diagram for Rose::Color::ColorizationMerge:
Collaboration graph
[legend]

Public Types

typedef Sawyer::SharedPointer< ColorizationMergePtr
 
- Public Types inherited from Sawyer::CommandLine::ValueAugmenter
typedef SharedPointer< ValueAugmenterPtr
 Reference counting pointer for this class.
 

Public Member Functions

virtual Sawyer::CommandLine::ParsedValues operator() (const Sawyer::CommandLine::ParsedValues &prev, const Sawyer::CommandLine::ParsedValues &cur)
 Called when a switch's value is about to be stored into the ParserResult.
 
- Public Member Functions inherited from Sawyer::SharedObject
 SharedObject ()
 Default constructor.
 
 SharedObject (const SharedObject &)
 Copy constructor.
 
virtual ~SharedObject ()
 Virtual destructor.
 
SharedObjectoperator= (const SharedObject &)
 Assignment.
 

Static Public Member Functions

static Ptr instance ()
 

Member Typedef Documentation

◆ Ptr

Definition at line 109 of file Color.h.

Member Function Documentation

◆ instance()

static Ptr Rose::Color::ColorizationMerge::instance ( )
inlinestatic

Definition at line 111 of file Color.h.

◆ operator()()

virtual Sawyer::CommandLine::ParsedValues Rose::Color::ColorizationMerge::operator() ( const Sawyer::CommandLine::ParsedValues savedValues,
const Sawyer::CommandLine::ParsedValues newValues 
)
virtual

Called when a switch's value is about to be stored into the ParserResult.

The previously stored switch values for all switch occurrences that used this same key are provided in the first arugment. The recently parsed value (or values if the switch value was a list that was then exploded) is provided as the second argument. The function should return a new value (or values) that will replace the values passed on the command-line.

Implements Sawyer::CommandLine::ValueAugmenter.


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