Functions | |
template<typename T > | |
bool | GenericTransform (std::string input, T &output) |
Convert a string into another type. | |
bool anonymous_namespace{csv-reader.cc}::GenericTransform | ( | std::string | input, |
T & | output ) |
Convert a string into another type.
Uses a stringstream to deserialize the value stored in input
to a value of type T and writes the deserialized value to output
.
T | Data type of output. |
input | String containing serialized data. |
output | Place to store deserialized value. |
true
if deserialization was successful, false
otherwise. Definition at line 47 of file csv-reader.cc.
References NS_LOG_FUNCTION.