Functions
vsl_vector_io_bool.cxx File Reference

Specialised version of binary IO for vector<bool> More...

#include <iostream>
#include "vsl_vector_io.h"
#include <vsl/vsl_binary_io.h>

Go to the source code of this file.

Functions

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

Detailed Description

Specialised version of binary IO for vector<bool>

Author
Ian Scott

Definition in file vsl_vector_io_bool.cxx.

Function Documentation

◆ vsl_b_read()

template<>
void vsl_b_read ( vsl_b_istream is,
std::vector< bool > &  v 
)

Read vector from binary stream.

Read vector<bool> from binary stream.

Definition at line 30 of file vsl_vector_io_bool.cxx.

◆ vsl_b_write()

template<>
void vsl_b_write ( vsl_b_ostream s,
const std::vector< bool > &  v 
)

Write vector to binary stream.

Write vector<bool> to binary stream.

Definition at line 17 of file vsl_vector_io_bool.cxx.

◆ vsl_print_summary()

template<>
void vsl_print_summary ( std::ostream &  os,
const std::vector< bool > &  v 
)

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 60 of file vsl_vector_io_bool.cxx.