core/vsl/vsl_vector_io.txx File Reference


Detailed Description

binary IO functions for vcl_vector<T>

Author:
Tim Cootes

Definition in file vsl_vector_io.txx.

#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_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)
 Print human readable summary of object to a stream.

Define Documentation

#define VSL_VECTOR_IO_INSTANTIATE (  ) 

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.


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.

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

Definition at line 41 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.

template<class T>
bool vsl_is_char ( const T &   ) 

Definition at line 43 of file vsl_vector_io.txx.

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.


Generated on Mon Mar 8 05:06:14 2010 for core/vsl by  doxygen 1.5.1