Macros | Functions
vsl_list_io.hxx File Reference

binary IO functions for std::list<T> More...

#include <iostream>
#include "vsl_list_io.h"
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_indent.h>

Go to the source code of this file.

Macros

#define VSL_LIST_IO_INSTANTIATE(T)
 

Functions

template<class T >
void vsl_b_write (vsl_b_ostream &s, const std::list< T > &v)
 Write list to binary stream. More...
 
template<class T >
void vsl_b_read (vsl_b_istream &is, std::list< T > &v)
 Read list from binary stream. More...
 
template<class T >
void vsl_print_summary (std::ostream &os, const std::list< T > &v)
 Output a human readable summary to the stream. More...
 

Detailed Description

binary IO functions for std::list<T>

Author
K.Y.McGaul

Implementation

Definition in file vsl_list_io.hxx.

Macro Definition Documentation

◆ VSL_LIST_IO_INSTANTIATE

#define VSL_LIST_IO_INSTANTIATE (   T)
Value:
template void vsl_print_summary(std::ostream&, const std::list<T >&); \
template void vsl_b_write(vsl_b_ostream& s, const std::list<T >& v); \
template void vsl_b_read(vsl_b_istream& s, std::list<T >& v)
A binary output adaptor for any std::ostream.
Definition: vsl_binary_io.h:37
void vsl_print_summary(std::ostream &os, const std::list< T > &v)
Output a human readable summary to the stream.
Definition: vsl_list_io.hxx:64
An adaptor for any std::istream to make it suitable for binary input.
void vsl_b_read(vsl_b_istream &is, std::list< T > &v)
Read list from binary stream.
Definition: vsl_list_io.hxx:34
void vsl_b_write(vsl_b_ostream &s, const std::list< T > &v)
Write list to binary stream.
Definition: vsl_list_io.hxx:22

Definition at line 81 of file vsl_list_io.hxx.

Function Documentation

◆ vsl_b_read()

template<class T >
void vsl_b_read ( vsl_b_istream is,
std::list< T > &  v 
)

Read list from binary stream.

Definition at line 34 of file vsl_list_io.hxx.

◆ vsl_b_write()

template<class T >
void vsl_b_write ( vsl_b_ostream s,
const std::list< T > &  v 
)

Write list to binary stream.

Definition at line 22 of file vsl_list_io.hxx.

◆ vsl_print_summary()

template<class T >
void vsl_print_summary ( std::ostream &  os,
const std::list< T > &  v 
)

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 64 of file vsl_list_io.hxx.