Defines | Functions
core/vsl/vsl_vector_io.txx File Reference

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

#include "vsl_vector_io.h"
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_block_binary.h>
#include <vsl/vsl_b_read_block_old.h>
#include <vcl_iostream.h>
#include <vcl_cassert.h>
#include <vsl/vsl_indent.h>

Go to the source code of this file.

Defines

#define vsl_vector_io_txx_
#define VSL_VECTOR_IO_INSTANTIATE(T)

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 >
bool vsl_is_char (const T &)
VCL_DEFINE_SPECIALIZATION bool vsl_is_char (const unsigned char &)
VCL_DEFINE_SPECIALIZATION bool vsl_is_char (const signed char &)
template<class T >
void vsl_b_read (vsl_b_istream &is, vcl_vector< T > &v)
 Read vector from binary stream.
template<class T >
void vsl_print_summary (vcl_ostream &os, const vcl_vector< T > &v)
 Output a human readable summary to the stream.

Detailed Description

binary IO functions for vcl_vector<T>

Author:
Tim Cootes

Definition in file vsl_vector_io.txx.


Define Documentation

#define VSL_VECTOR_IO_INSTANTIATE (   T)
Value:
template void vsl_print_summary(vcl_ostream& s, const vcl_vector<T >& v); \
template void vsl_b_write(vsl_b_ostream& s, const vcl_vector<T >& v); \
template void vsl_b_read(vsl_b_istream& s, vcl_vector<T >& v)

Definition at line 121 of file vsl_vector_io.txx.

#define vsl_vector_io_txx_

Definition at line 3 of file vsl_vector_io.txx.


Function Documentation

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

Read vector from binary stream.

Definition at line 48 of file vsl_vector_io.txx.

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<class T >
bool vsl_is_char ( const T &  )

Definition at line 43 of file vsl_vector_io.txx.

VCL_DEFINE_SPECIALIZATION bool vsl_is_char ( const unsigned char &  ) [inline]

Definition at line 39 of file vsl_vector_io.txx.

VCL_DEFINE_SPECIALIZATION bool vsl_is_char ( const signed char &  ) [inline]

Definition at line 41 of file vsl_vector_io.txx.

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

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 105 of file vsl_vector_io.txx.