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