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 ValueArg.h.
#include <mrpt/otherlibs/tclap/ValueArg.h>
Private Member Functions | |
ValueExtractor (std::string &value) | |
Constructor. More... | |
int | extractValue (const std::string &val) |
Method that will attempt to parse the input stream for a value of type std::string. More... | |
Private Attributes | |
std::string & | _value |
Reference to the value where the result of the extraction will be put. More... | |
Friends | |
class | ValueArg< std::string > |
|
inlineprivate |
Constructor.
value | - Where the value extracted will be put. |
Definition at line 134 of file ValueArg.h.
|
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 141 of file ValueArg.h.
References TCLAP::VALUE_ARG_HELPER::ValueExtractor< T >::_value.
|
friend |
Definition at line 120 of file ValueArg.h.
|
private |
Reference to the value where the result of the extraction will be put.
Definition at line 128 of file ValueArg.h.
Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Sun Nov 26 00:44:48 UTC 2017 |