core/vsl/vsl_set_io.h
Go to the documentation of this file.
00001 // This is core/vsl/vsl_set_io.h
00002 #ifndef vsl_set_io_h_
00003 #define vsl_set_io_h_
00004 //:
00005 // \file
00006 // \brief binary IO functions for vcl_set<T>
00007 // \author K.Y.McGaul
00008 
00009 #include <vcl_iosfwd.h>
00010 #include <vcl_set.h>
00011 
00012 class vsl_b_ostream;
00013 class vsl_b_istream;
00014 
00015 //: Write set to binary stream
00016 template <class T>
00017 void vsl_b_write(vsl_b_ostream& s, const vcl_set<T>& v);
00018 
00019 //: Read set from binary stream
00020 template <class T>
00021 void vsl_b_read(vsl_b_istream& s, vcl_set<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_set<T> &v);
00026 
00027 #endif // vsl_set_io_h_