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

vnl_matlab_print_scalar.h

Go to the documentation of this file.
00001 #ifndef vnl_matlab_print_scalar_h_
00002 #define vnl_matlab_print_scalar_h_
00003 /*
00004   fsm@robots.ox.ac.uk
00005 */
00006 
00007 #include <vcl_complex_fwd.h>
00008 #include <vnl/vnl_matlab_print_format.h>
00009 
00010 //: print real or complex scalar into character buffer.
00011 #define vnl_matlab_print_scalar_declare(T) \
00012 void vnl_matlab_print_scalar(T v, \
00013                              char *buf, \
00014                              vnl_matlab_print_format =vnl_matlab_print_format_default)
00015 
00016 // Even with a function template we would have to
00017 // forward declare all the specializations anyway.
00018 vnl_matlab_print_scalar_declare(int);
00019 vnl_matlab_print_scalar_declare(float);
00020 vnl_matlab_print_scalar_declare(double);
00021 vnl_matlab_print_scalar_declare(long double);
00022 vnl_matlab_print_scalar_declare(vcl_complex<float>);
00023 vnl_matlab_print_scalar_declare(vcl_complex<double>);
00024 vnl_matlab_print_scalar_declare(vcl_complex<long double>);
00025 
00026 #endif

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