ROSE 0.11.145.147
|
Public Types | |
typedef Sawyer::SharedPointer< ColorizationMerge > | Ptr |
Public Types inherited from Sawyer::CommandLine::ValueAugmenter | |
typedef SharedPointer< ValueAugmenter > | Ptr |
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. | |
SharedObject & | operator= (const SharedObject &) |
Assignment. | |
Static Public Member Functions | |
static Ptr | instance () |
|
inlinestatic |
|
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.