Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_matlab_print2.h File Reference

Go to the source code of this file.

Compounds

struct  vnl_matlab_print_proxy

Defines

#define VNL_MATLAB_PRINT2_INSTANTIATE(T)

Functions

template<class T> vcl_ostream & operator<< (vcl_ostream &os, vnl_matlab_print_proxy< T > const &mp)
template<class T> vnl_matlab_print_proxy< T > vnl_matlab_print (T const &obj, char const *name=0, vnl_matlab_print_format format=vnl_matlab_print_format_default)


Detailed Description

Author:
fsm@robots.ox.ac.uk After including this header file, the client should be able to say :
     vnl_matrix<double> foo(3, 14);
    ....
     cerr << "and the blasted matrix is :" << endl
          << vnl_matlab_print(foo)
          << vnl_matlab_print(foo, "foo")
          << vnl_matlab_print(foo, 0, vnl_matlab_fmt_long);
   
instead of
    ....
     cerr << "and the blasted matrix is :" << endl;
          vnl_matlab_print(cerr, foo);
          vnl_matlab_print(cerr, foo, "foo");
          vnl_matlab_print(cerr, foo, 0, vnl_matlab_fmt_long);
   

Definition in file vnl_matlab_print2.h.


Define Documentation

#define VNL_MATLAB_PRINT2_INSTANTIATE  
 

Value:

template struct vnl_matlab_print_proxy<T >; \
VCL_INSTANTIATE_INLINE(vcl_ostream &operator<<(vcl_ostream &, \
                                           vnl_matlab_print_proxy<T > const &)); \
VCL_INSTANTIATE_INLINE(vnl_matlab_print_proxy<T > vnl_matlab_print(T const &, \
                                                                   char const *, \
                                                                   vnl_matlab_print_format));

Definition at line 65 of file vnl_matlab_print2.h.


Function Documentation

template<class T>
vcl_ostream& operator<< vcl_ostream &    os,
vnl_matlab_print_proxy< T > const &    mp
[inline]
 

Definition at line 47 of file vnl_matlab_print2.h.

References vnl_matlab_print().

template<class T>
vnl_matlab_print_proxy<T> vnl_matlab_print T const &    obj,
char const *    name = 0,
vnl_matlab_print_format    format = vnl_matlab_print_format_default
[inline]
 

Definition at line 58 of file vnl_matlab_print2.h.

References vnl_matlab_print_format, and vnl_matlab_print_format_default.

Referenced by operator<<().


Generated at Wed Mar 12 01:13:18 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000