ROSE  0.11.145.0
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. More...
 

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. 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...
 

Static Public Member Functions

static Ptr instance ()
 

Member Function Documentation

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: