TClap class internally used for string handling. More...
#include <value_arg.hpp>
Private Member Functions | |
int | extractValue (const std::string &val) |
ValueExtractor (std::string &value) | |
Private Attributes | |
std::string & | _value |
Friends | |
class | ValueArg< std::string > |
TClap class internally used for string handling.
Specialization for string. This is necessary because istringstream operator>> is not able to ignore spaces... meaning -x "X Y" will only read 'X'... and thus the specialization.
Definition at line 115 of file value_arg.hpp.
|
inlineprivate |
Constructor.
value | - Where the value extracted will be put. |
Definition at line 131 of file value_arg.hpp.
|
inlineprivate |
Method that will attempt to parse the input stream for a value of type std::string.
val | - Where the string parsed will be put. |
Definition at line 138 of file value_arg.hpp.
|
friend |
Definition at line 117 of file value_arg.hpp.
|
private |
Reference to the value where the result of the extraction will be put.
Definition at line 125 of file value_arg.hpp.