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