vbl_io_sparse_array_base.h
Go to the documentation of this file.
1 // This is core/vbl/io/vbl_io_sparse_array_base.h
2 #ifndef vbl_io_sparse_array_base_h
3 #define vbl_io_sparse_array_base_h
4 //:
5 // \file
6 // \author Ian Scott
7 // \date 11-Apr-2001
8 
9 #include <iosfwd>
10 #ifdef _MSC_VER
11 # include <vcl_msvc_warnings.h>
12 #endif
13 #include <vsl/vsl_fwd.h>
15 
16 //: Binary save vbl_sparse_array_base to stream.
17 template <class T, class Index>
18 void vsl_b_write(vsl_b_ostream &os, const vbl_sparse_array_base<T, Index> & v);
19 
20 //: Binary load vbl_sparse_array_base from stream.
21 template <class T, class Index>
22 void vsl_b_read(vsl_b_istream &is, vbl_sparse_array_base<T, Index> & v);
23 
24 //: Print human readable summary of object to a stream
25 template <class T, class Index>
26 void vsl_print_summary(std::ostream& os,const vbl_sparse_array_base<T, Index> & b);
27 
28 #endif // vbl_io_sparse_array_base_h
void vsl_print_summary(std::ostream &os, const vbl_sparse_array_base< T, Index > &b)
Print human readable summary of object to a stream.
void vsl_b_write(vsl_b_ostream &os, const vbl_sparse_array_base< T, Index > &v)
Binary save vbl_sparse_array_base to stream.
base class for sparse arrays.
A fully featured sparse array which devolves indexing to its templated type.
void vsl_b_read(vsl_b_istream &is, vbl_sparse_array_base< T, Index > &v)
Binary load vbl_sparse_array_base from stream.