00001 // This is core/vbl/io/vbl_io_sparse_array_base.h 00002 #ifndef vbl_io_sparse_array_base_h 00003 #define vbl_io_sparse_array_base_h 00004 //: 00005 // \file 00006 // \author Ian Scott 00007 // \date 11-Apr-2001 00008 00009 #include <vcl_iosfwd.h> 00010 #include <vsl/vsl_fwd.h> 00011 #include <vbl/vbl_sparse_array_base.h> 00012 00013 //: Binary save vbl_sparse_array_base to stream. 00014 template <class T, class Index> 00015 void vsl_b_write(vsl_b_ostream &os, const vbl_sparse_array_base<T, Index> & v); 00016 00017 //: Binary load vbl_sparse_array_base from stream. 00018 template <class T, class Index> 00019 void vsl_b_read(vsl_b_istream &is, vbl_sparse_array_base<T, Index> & v); 00020 00021 //: Print human readable summary of object to a stream 00022 template <class T, class Index> 00023 void vsl_print_summary(vcl_ostream& os,const vbl_sparse_array_base<T, Index> & b); 00024 00025 #endif // vbl_io_sparse_array_base_h