XML write a vnl_quaternion Two functions which write a valid XML fragment to an ostream. More...
Go to the source code of this file.
Defines | |
#define | VNL_XIO_QUATERNION_INSTANTIATE(T) extern "Please #include <vnl/xio/vnl_xio_quaternion.txx> first" |
Functions | |
template<class T > | |
void | x_write (vcl_ostream &os, vnl_quaternion< T > const &v, vcl_string name="vnl_quaternion") |
XML save vnl_quaternion to stream. | |
template<class T > | |
void | x_write_tree (vcl_ostream &os, vnl_quaternion< T > const &v, vcl_string name="vnl_quaternion") |
XML save vnl_quaternion as a 2-level tree to stream. |
XML write a vnl_quaternion Two functions which write a valid XML fragment to an ostream.
Modifications 29 July 2011 - Peter Vanroose - added documentation, tests, and x_write_tree()
Definition in file vnl_xio_quaternion.h.
#define VNL_XIO_QUATERNION_INSTANTIATE | ( | T | ) | extern "Please #include <vnl/xio/vnl_xio_quaternion.txx> first" |
Definition at line 37 of file vnl_xio_quaternion.h.
void x_write | ( | vcl_ostream & | os, |
vnl_quaternion< T > const & | v, | ||
vcl_string | name = "vnl_quaternion" |
||
) |
XML save vnl_quaternion to stream.
Definition at line 11 of file vnl_xio_quaternion.txx.
void x_write_tree | ( | vcl_ostream & | os, |
vnl_quaternion< T > const & | v, | ||
vcl_string | name = "vnl_quaternion" |
||
) |
XML save vnl_quaternion as a 2-level tree to stream.
Definition at line 23 of file vnl_xio_quaternion.txx.