Macros | Functions
vnl_xio_matrix_fixed.h File Reference

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

#include <string>
#include <iosfwd>
#include <vnl/vnl_matrix_fixed.h>

Go to the source code of this file.

Macros

#define VNL_XIO_MATRIX_FIXED_INSTANTIATE(T)   extern "Please #include <vnl/xio/vnl_xio_matrix_fixed.hxx> first"
 

Functions

template<class T , unsigned m, unsigned n>
void x_write (std::ostream &os, vnl_matrix_fixed< T, m, n > const &v, std::string name="vnl_matrix_fixed")
 XML save vnl_matrix_fixed to stream. More...
 
template<class T , unsigned m, unsigned n>
void x_write_tree (std::ostream &os, vnl_matrix_fixed< T, m, n > const &v, std::string name="vnl_matrix_fixed")
 XML save vnl_matrix_fixed as a 3-level tree to stream. More...
 

Detailed Description

XML write a vnl_matrix_fixed 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_fixed.h.

Macro Definition Documentation

◆ VNL_XIO_MATRIX_FIXED_INSTANTIATE

#define VNL_XIO_MATRIX_FIXED_INSTANTIATE (   T)    extern "Please #include <vnl/xio/vnl_xio_matrix_fixed.hxx> first"

Definition at line 43 of file vnl_xio_matrix_fixed.h.

Function Documentation

◆ x_write()

template<class T , unsigned m, unsigned n>
void x_write ( std::ostream &  os,
vnl_matrix_fixed< T, m, n > const &  v,
std::string  name = "vnl_matrix_fixed" 
)

XML save vnl_matrix_fixed to stream.

Definition at line 11 of file vnl_xio_matrix_fixed.hxx.

◆ x_write_tree()

template<class T , unsigned m, unsigned n>
void x_write_tree ( std::ostream &  os,
vnl_matrix_fixed< T, m, n > const &  v,
std::string  name = "vnl_matrix_fixed" 
)

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

Definition at line 25 of file vnl_xio_matrix_fixed.hxx.