I have this code block as written with strstream. And I converted it to sstream as below. I\'m not sure, but I think printStream->str()
strstream
sstream
printStream->str()
I think a function called to_string really, really, really should return a std::string.
to_string
std::string
And then all this junk can be replaced by
std::string FieldData::to_string() const { return "Invalid Field Type"; }