Macros | Functions
vnl_xio_matrix.hxx File Reference
#include "vnl_xio_matrix.h"
#include <vnl/vnl_matrix.h>
#include <vsl/vsl_basic_xml_element.h>

Go to the source code of this file.

Macros

#define VNL_XIO_MATRIX_INSTANTIATE(T)
 

Functions

template<class T >
void x_write (std::ostream &os, vnl_matrix< T > const &M, std::string name)
 XML save vnl_matrix to stream. More...
 
template<class T >
void x_write_tree (std::ostream &os, vnl_matrix< T > const &M, std::string name)
 XML save vnl_matrix as a 3-level tree to stream. More...
 

Macro Definition Documentation

◆ VNL_XIO_MATRIX_INSTANTIATE

#define VNL_XIO_MATRIX_INSTANTIATE (   T)
Value:
template VNL_EXPORT void x_write(std::ostream &, vnl_matrix<T > const&, std::string); \
template VNL_EXPORT void x_write_tree(std::ostream &, vnl_matrix<T > const&, std::string)
void VNL_EXPORT x_write_tree(std::ostream &os, vnl_matrix< T > const &v, std::string name="vnl_matrix")
XML save vnl_matrix as a 3-level tree to stream.
An ordinary mathematical matrix.
Definition: vnl_adjugate.h:22
void VNL_EXPORT x_write(std::ostream &os, vnl_matrix< T > const &v, std::string name="vnl_matrix")
XML save vnl_matrix to stream.

Definition at line 43 of file vnl_xio_matrix.hxx.

Function Documentation

◆ x_write()

template<class T >
void x_write ( std::ostream &  os,
vnl_matrix< T > const &  M,
std::string  name 
)

XML save vnl_matrix to stream.

Definition at line 11 of file vnl_xio_matrix.hxx.

◆ x_write_tree()

template<class T >
void x_write_tree ( std::ostream &  os,
vnl_matrix< T > const &  M,
std::string  name 
)

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

Definition at line 25 of file vnl_xio_matrix.hxx.