Simbody
3.6
|
Namespace-scope utility method SimTK::readFormatted<T>() reads a value of type T from an input stream, recognizing a variety of formats such as the format produced by writeFormatted() or simpler unformatted data such as is produced by writeUnformatted(). More...
Functions | |
template<class T > | |
bool | SimTK::readFormatted (std::istream &in, T &v) |
The default implementation of readFormatted<T>() uses readUnformatted<T>(). More... | |
Namespace-scope utility method SimTK::readFormatted<T>() reads a value of type T from an input stream, recognizing a variety of formats such as the format produced by writeFormatted() or simpler unformatted data such as is produced by writeUnformatted().
When T is a container, the recognized formats depend on the readFormatted() specialization provided with as part of the definition of that container.
|
inline |
The default implementation of readFormatted<T>() uses readUnformatted<T>().