Defines | Functions
core/vnl/xio/vnl_xio_matrix.h File Reference

XML write a vnl_matrix Two functions which write a valid XML fragment to an ostream. More...

#include <vnl/vnl_matrix.h>
#include <vcl_string.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Defines

#define VNL_XIO_MATRIX_INSTANTIATE(T)   extern "Please #include <vnl/xio/vnl_xio_matrix.txx> first"

Functions

template<class T >
void x_write (vcl_ostream &os, vnl_matrix< T > const &v, vcl_string name="vnl_matrix")
 XML save vnl_matrix to stream.
template<class T >
void x_write_tree (vcl_ostream &os, vnl_matrix< T > const &v, vcl_string name="vnl_matrix")
 XML save vnl_matrix as a 3-level tree to stream.

Detailed Description

XML write a vnl_matrix Two functions which write a valid XML fragment to an ostream.

The matrix dimensions are output as attributes of the (top) node.

Definition in file vnl_xio_matrix.h.


Define Documentation

#define VNL_XIO_MATRIX_INSTANTIATE (   T)    extern "Please #include <vnl/xio/vnl_xio_matrix.txx> first"

Definition at line 40 of file vnl_xio_matrix.h.


Function Documentation

template<class T >
void x_write ( vcl_ostream &  os,
vnl_matrix< T > const &  v,
vcl_string  name = "vnl_matrix" 
)

XML save vnl_matrix to stream.

Definition at line 11 of file vnl_xio_matrix.txx.

template<class T >
void x_write_tree ( vcl_ostream &  os,
vnl_matrix< T > const &  v,
vcl_string  name = "vnl_matrix" 
)

XML save vnl_matrix as a 3-level tree to stream.

Definition at line 25 of file vnl_xio_matrix.txx.