XML write a vnl_vector_fixed Two functions which write a valid XML fragment to an ostream. More...
#include <vsl/vsl_fwd.h>
#include <vnl/vnl_vector_fixed.h>
#include <vcl_iosfwd.h>
#include <vcl_string.h>
Go to the source code of this file.
Defines | |
#define | VNL_XIO_VECTOR_FIXED_INSTANTIATE(T) extern "Please #include <vnl/xio/vnl_xio_vector_fixed.txx> first" |
Functions | |
template<class T , unsigned n> | |
void | x_write (vcl_ostream &os, vnl_vector_fixed< T, n > const &v, vcl_string name="vnl_vector_fixed") |
XML save vnl_vector_fixed to stream. | |
template<class T , unsigned n> | |
void | x_write_tree (vcl_ostream &os, vnl_vector_fixed< T, n > const &v, vcl_string name="vnl_vector_fixed") |
XML save vnl_vector_fixed as a 2-level tree to stream. |
XML write a vnl_vector_fixed Two functions which write a valid XML fragment to an ostream.
The vector length is output as an attribute of the (top) node.
Modifications 29 July 2011 - Peter Vanroose - added documentation, tests, and x_write_tree()
Definition in file vnl_xio_vector_fixed.h.
#define VNL_XIO_VECTOR_FIXED_INSTANTIATE | ( | T | ) | extern "Please #include <vnl/xio/vnl_xio_vector_fixed.txx> first" |
Definition at line 39 of file vnl_xio_vector_fixed.h.
void x_write | ( | vcl_ostream & | os, |
vnl_vector_fixed< T, n > const & | v, | ||
vcl_string | name = "vnl_vector_fixed" |
||
) |
XML save vnl_vector_fixed to stream.
Definition at line 10 of file vnl_xio_vector_fixed.txx.
void x_write_tree | ( | vcl_ostream & | os, |
vnl_vector_fixed< T, n > const & | v, | ||
vcl_string | name = "vnl_vector_fixed" |
||
) |
XML save vnl_vector_fixed as a 2-level tree to stream.
Definition at line 21 of file vnl_xio_vector_fixed.txx.