core/vsl/vsl_list_io.h
Go to the documentation of this file.
00001 // This is core/vsl/vsl_list_io.h
00002 #ifndef vsl_list_io_h_
00003 #define vsl_list_io_h_
00004 //:
00005 // \file
00006 // \brief binary IO functions for vcl_list<T>
00007 // \author K.Y.McGaul
00008 
00009 #include <vcl_iosfwd.h>
00010 #include <vcl_list.h>
00011 
00012 class vsl_b_ostream;
00013 class vsl_b_istream;
00014 
00015 //: Write list to binary stream
00016 template <class T>
00017 void vsl_b_write(vsl_b_ostream& s, const vcl_list<T>& v);
00018 
00019 //: Read list from binary stream
00020 template <class T>
00021 void vsl_b_read(vsl_b_istream& s, vcl_list<T>& v);
00022 
00023 //: Print human readable summary of object to a stream
00024 template <class T>
00025 void vsl_print_summary(vcl_ostream &os, const vcl_list<T> &v);
00026 
00027 #endif // vsl_list_io_h_