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 129 of file MultiArg.h.
#include <mrpt/otherlibs/tclap/MultiArg.h>
Private Member Functions | |
| ValueExtractor (std::vector< std::string > &values) | |
| Constructor. | |
| int | extractValue (const std::string &val) |
| Method that will attempt to parse the input stream for values of type std::string. | |
Private Attributes | |
| std::vector< std::string > & | _values |
| Reference to the vector of strings where the result of the extraction will be put. | |
Friends | |
| class | MultiArg< std::string > |
| TCLAP::MULTI_ARG_HELPER::ValueExtractor< std::string >::ValueExtractor | ( | std::vector< std::string > & | values ) | [inline, private] |
Constructor.
| values | - Where the strings extracted will be put. |
Definition at line 145 of file MultiArg.h.
| int TCLAP::MULTI_ARG_HELPER::ValueExtractor< std::string >::extractValue | ( | const std::string & | val ) | [inline, private] |
Method that will attempt to parse the input stream for values of type std::string.
| val | - Where the values parsed will be put. |
Definition at line 152 of file MultiArg.h.
References TCLAP::MULTI_ARG_HELPER::ValueExtractor< T >::_values.
friend class MultiArg< std::string > [friend] |
Definition at line 131 of file MultiArg.h.
std::vector<std::string>& TCLAP::MULTI_ARG_HELPER::ValueExtractor< std::string >::_values [private] |
Reference to the vector of strings where the result of the extraction will be put.
Definition at line 139 of file MultiArg.h.
| Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |