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

Go to the source code of this file.

Macros

#define VNL_XIO_VECTOR_INSTANTIATE(T)
 

Functions

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

Macro Definition Documentation

◆ VNL_XIO_VECTOR_INSTANTIATE

#define VNL_XIO_VECTOR_INSTANTIATE (   T)
Value:
template VNL_EXPORT void x_write(std::ostream &, vnl_vector<T > const&, std::string); \
template VNL_EXPORT void x_write_tree(std::ostream &, vnl_vector<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.
Mathematical vector class, templated by type of element.
Definition: vnl_fwd.h:16
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 34 of file vnl_xio_vector.hxx.

Function Documentation

◆ x_write()

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

XML save vnl_vector to stream.

Definition at line 10 of file vnl_xio_vector.hxx.

◆ x_write_tree()

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

XML save vnl_vector as a 2-level tree to stream.

Definition at line 21 of file vnl_xio_vector.hxx.