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

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

#include "vsl_complex_io.h"
#include <vsl/vsl_binary_io.h>

Go to the source code of this file.

Defines

#define vsl_complex_io_txx_
#define VSL_COMPLEX_IO_INSTANTIATE(T)

Functions

template<class T >
void vsl_b_write (vsl_b_ostream &s, const vcl_complex< T > &v)
 Write complex to binary stream.
template<class T >
void vsl_b_read (vsl_b_istream &s, vcl_complex< T > &v)
 Read complex from binary stream.
template<class T >
void vsl_print_summary (vcl_ostream &os, const vcl_complex< T > &v)
 Output a human readable summary to the stream.

Detailed Description

binary IO functions for vcl_complex<T>

Author:
K.Y.McGaul

Implementation

Definition in file vsl_complex_io.txx.


Define Documentation

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

Definition at line 45 of file vsl_complex_io.txx.

#define vsl_complex_io_txx_

Definition at line 3 of file vsl_complex_io.txx.


Function Documentation

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

Read complex from binary stream.

Definition at line 29 of file vsl_complex_io.txx.

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

Write complex to binary stream.

Definition at line 18 of file vsl_complex_io.txx.

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

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 40 of file vsl_complex_io.txx.