Macros | Functions
vnl_xio_quaternion.h File Reference

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

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

Go to the source code of this file.

Macros

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

Functions

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

Detailed Description

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

Definition in file vnl_xio_quaternion.h.

Macro Definition Documentation

◆ VNL_XIO_QUATERNION_INSTANTIATE

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

Definition at line 40 of file vnl_xio_quaternion.h.

Function Documentation

◆ x_write()

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

XML save vnl_quaternion to stream.

Definition at line 11 of file vnl_xio_quaternion.hxx.

◆ x_write_tree()

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

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

Definition at line 23 of file vnl_xio_quaternion.hxx.