Deepsolver
|
Public Member Functions | |
DsPatchCliParser () | |
The default constructor. | |
virtual | ~DsPatchCliParser () |
The destructor. | |
Public Attributes | |
StringVector | filesToAdd |
StringVector | filesToRemove |
Protected Member Functions | |
void | parseCluster (const StringVector &cluster, int &mode) |
Parses one cluster. | |
size_t | recognizeCluster (const StringVector ¶ms, int &mode) const |
Recognizes cluster of command line arguments. |
void CliParser::parseCluster | ( | const StringVector & | cluster, |
int & | mode | ||
) | [inline, protected, virtual] |
The This implementation of this method parses arguments according to user-defined table and takes into account "--add" and "--del" sequences.
[in] | cluster | The arguments of one cluster to parse |
[in/out] | mode The additional mode variable with user-defined purpose |
Reimplemented from Deepsolver::CliParser.
size_t CliParser::recognizeCluster | ( | const StringVector & | params, |
int & | mode | ||
) | const [inline, protected, virtual] |
This is a custom implementation recognizing "--add" and "--del" sequences.
[in] | params | The list of all arguments potentially included into cluster |
[in/out] | mode The additional mode variable with user-defined purpose |
Reimplemented from Deepsolver::CliParser.