Functions
core/vsl/vsl_vector_io.h File Reference

binary IO functions for vcl_vector<T> More...

#include <vcl_iosfwd.h>
#include <vcl_vector.h>
#include <vsl/vsl_fwd.h>

Go to the source code of this file.

Functions

template<class T >
void vsl_b_write (vsl_b_ostream &s, const vcl_vector< T > &v)
 Write vector to binary stream.
template<class T >
void vsl_b_read (vsl_b_istream &s, vcl_vector< T > &v)
 Read vector from binary stream.
template<class T >
void vsl_print_summary (vcl_ostream &os, const vcl_vector< T > &v)
 Print human readable summary of object to a stream.
template<>
void vsl_b_write (vsl_b_ostream &s, const vcl_vector< bool > &v)
 Write vector<bool> to binary stream.
template<>
void vsl_b_read (vsl_b_istream &s, vcl_vector< bool > &v)
 Read vector<bool> from binary stream.
template<>
void vsl_print_summary (vcl_ostream &os, const vcl_vector< bool > &v)
 Print human readable summary of object to a stream.

Detailed Description

binary IO functions for vcl_vector<T>

Author:
Tim Cootes

Definition in file vsl_vector_io.h.


Function Documentation

template<class T >
void vsl_b_read ( vsl_b_istream s,
vcl_vector< T > &  v 
)

Read vector from binary stream.

Definition at line 48 of file vsl_vector_io.txx.

template<>
void vsl_b_read ( vsl_b_istream is,
vcl_vector< bool > &  v 
)

Read vector<bool> from binary stream.

Definition at line 27 of file vsl_vector_io_bool.cxx.

template<class T >
void vsl_b_write ( vsl_b_ostream s,
const vcl_vector< T > &  v 
)

Write vector to binary stream.

Definition at line 20 of file vsl_vector_io.txx.

template<>
void vsl_b_write ( vsl_b_ostream s,
const vcl_vector< bool > &  v 
)

Write vector<bool> to binary stream.

Definition at line 14 of file vsl_vector_io_bool.cxx.

template<class T >
void vsl_print_summary ( vcl_ostream &  os,
const vcl_vector< T > &  v 
)

Print human readable summary of object to a stream.

Definition at line 105 of file vsl_vector_io.txx.

template<>
void vsl_print_summary ( vcl_ostream &  os,
const vcl_vector< bool > &  v 
)

Print human readable summary of object to a stream.

Definition at line 57 of file vsl_vector_io_bool.cxx.