vbl_io_triple.h
Go to the documentation of this file.
1 // This is core/vbl/io/vbl_io_triple.h
2 #ifndef vbl_io_triple_h_
3 #define vbl_io_triple_h_
4 //:
5 // \file
6 // \brief binary IO functions for vbl_triple<S, T, U>
7 // \author Ian Scott
8 
9 #include <iosfwd>
10 #ifdef _MSC_VER
11 # include <vcl_msvc_warnings.h>
12 #endif
13 #include <vbl/vbl_triple.h>
14 class vsl_b_ostream;
15 class vsl_b_istream;
16 
17 //: Write pair to binary stream
18 template <class S, class T, class U>
19 void vsl_b_write(vsl_b_ostream& s, const vbl_triple<S, T, U>& v);
20 
21 //: Read pair from binary stream
22 template <class S, class T, class U>
23 void vsl_b_read(vsl_b_istream& s, vbl_triple<S, T, U>& v);
24 
25 //: Print human readable summary of object to a stream
26 template <class S, class T, class U>
27 void vsl_print_summary(std::ostream & os,const vbl_triple<S, T, U> &v);
28 
29 #endif // vbl_io_triple_h_
a templated 3-tuple.
Definition: vbl_fwd.h:22
void vsl_b_write(vsl_b_ostream &s, const vbl_triple< S, T, U > &v)
Write pair to binary stream.
void vsl_b_read(vsl_b_istream &s, vbl_triple< S, T, U > &v)
Read pair from binary stream.
a templated 3-tuple
void vsl_print_summary(std::ostream &os, const vbl_triple< S, T, U > &v)
Print human readable summary of object to a stream.