core/vsl/vsl_string_io.h
Go to the documentation of this file.
00001 // This is core/vsl/vsl_string_io.h
00002 #ifndef vsl_string_io_h_
00003 #define vsl_string_io_h_
00004 //:
00005 // \file
00006 // \brief   binary IO functions for vcl_basic_string<T>
00007 // \author  K.Y.McGaul
00008 
00009 #include <vcl_string.h>
00010 class vsl_b_ostream;
00011 class vsl_b_istream;
00012 
00013 //: Write string to binary stream
00014 template <class T>
00015 void vsl_b_write(vsl_b_ostream& s, const vcl_basic_string<T>& v);
00016 
00017 //: Read string from binary stream
00018 template <class T>
00019 void vsl_b_read(vsl_b_istream& s, vcl_basic_string<T>& v);
00020 
00021 #endif // vsl_string_io_h_