|
template<class T > |
void | SimTK::writeUnformatted (std::ostream &o, const T &v) |
| The default implementation of writeUnformatted<T> converts the object to a String using the templatized String constructor, and then writes that string to the stream using String::operator<<(). More...
|
|
template<class T > |
void | SimTK::writeUnformatted (std::ostream &o, const negator< T > &v) |
| Partial specialization for SimTK::negator<T>: convert to T and write. More...
|
|
template<class T > |
void | SimTK::writeUnformatted (std::ostream &o, const std::complex< T > &v) |
| Partial specialization for std::complex<T>: just write two T's separated by a space; no parentheses or comma. More...
|
|
template<class T > |
void | SimTK::writeUnformatted (std::ostream &o, const conjugate< T > &v) |
| Partial specialization for SimTK::conjugate<T>: same as std::complex<T>. More...
|
|
template<int M, class E , int S> |
void | writeUnformatted (std::ostream &o, const Vec< M, E, S > &v) |
| Specialize for Vec<M,E,S> to delegate to element type E, with spaces separating the elements. More...
|
|
template<int N, class E , int S> |
void | writeUnformatted (std::ostream &o, const Row< N, E, S > &v) |
| Specialize for Row<N,E,S> to delegate to element type E, with spaces separating the elements; raw output is same as Vec. More...
|
|
template<int M, int N, class E , int CS, int RS> |
void | writeUnformatted (std::ostream &o, const Mat< M, N, E, CS, RS > &v) |
| Specialize for Mat<M,N,E,CS,RS> delegating to Row<N,E,RS> with newlines separating the rows, but no final newline. More...
|
|
template<int M, class E , int RS> |
void | writeUnformatted (std::ostream &o, const SymMat< M, E, RS > &v) |
| Specialize for SymMat<M,E,RS> delegating to Row<M,E,RS> with newlines separating the rows, but no final newline. More...
|
|
template<class T >
void SimTK::writeUnformatted |
( |
std::ostream & |
o, |
|
|
const T & |
v |
|
) |
| |
|
inline |
The default implementation of writeUnformatted<T> converts the object to a String using the templatized String constructor, and then writes that string to the stream using String::operator<<().
This is suitable for use with any of the built-in types. Bool will be output "true" or "false", floating point values will be written with enough digits to be read back unchanged, and non-finite floating point values are written as NaN, Inf, or -Inf as appropriate (Matlab compatible).
template<int M, int N, class E , int CS, int RS>
void writeUnformatted |
( |
std::ostream & |
o, |
|
|
const Mat< M, N, E, CS, RS > & |
v |
|
) |
| |
|
related |
Specialize for Mat<M,N,E,CS,RS> delegating to Row<N,E,RS> with newlines separating the rows, but no final newline.
template<int M, class E , int RS>
void writeUnformatted |
( |
std::ostream & |
o, |
|
|
const SymMat< M, E, RS > & |
v |
|
) |
| |
|
related |
Specialize for SymMat<M,E,RS> delegating to Row<M,E,RS> with newlines separating the rows, but no final newline.