Functions
vsl_map_io.h File Reference

binary IO functions for std::map<Key, T, Compare> More...

#include <iosfwd>
#include <map>

Go to the source code of this file.

Functions

template<class Key , class T , class Compare >
void vsl_b_write (vsl_b_ostream &s, const std::map< Key, T, Compare > &v)
 Write map to binary stream. More...
 
template<class Key , class T , class Compare >
void vsl_b_read (vsl_b_istream &s, std::map< Key, T, Compare > &v)
 Read map from binary stream. More...
 
template<class Key , class T , class Compare >
void vsl_print_summary (std::ostream &os, const std::map< Key, T, Compare > &v)
 Print human readable summary of object to a stream. More...
 
template<class Key , class T , class Compare >
void vsl_b_write (vsl_b_ostream &s, const std::multimap< Key, T, Compare > &v)
 Write map to binary stream. More...
 
template<class Key , class T , class Compare >
void vsl_b_read (vsl_b_istream &s, std::multimap< Key, T, Compare > &v)
 Read map from binary stream. More...
 
template<class Key , class T , class Compare >
void vsl_print_summary (std::ostream &os, const std::multimap< Key, T, Compare > &v)
 Print human readable summary of object to a stream. More...
 

Detailed Description

binary IO functions for std::map<Key, T, Compare>

Author
K.Y.McGaul

Definition in file vsl_map_io.h.

Function Documentation

◆ vsl_b_read() [1/2]

template<class Key , class T , class Compare >
void vsl_b_read ( vsl_b_istream s,
std::map< Key, T, Compare > &  v 
)

Read map from binary stream.

Definition at line 38 of file vsl_map_io.hxx.

◆ vsl_b_read() [2/2]

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

Read map from binary stream.

Read map from binary stream.

Definition at line 114 of file vsl_map_io.hxx.

◆ vsl_b_write() [1/2]

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

Write map to binary stream.

Definition at line 23 of file vsl_map_io.hxx.

◆ vsl_b_write() [2/2]

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

Write map to binary stream.

Write map to binary stream.

Definition at line 98 of file vsl_map_io.hxx.

◆ vsl_print_summary() [1/2]

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

Print human readable summary of object to a stream.

Print human readable summary of object to a stream.

Definition at line 70 of file vsl_map_io.hxx.

◆ vsl_print_summary() [2/2]

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

Print human readable summary of object to a stream.

Print human readable summary of object to a stream.

Definition at line 146 of file vsl_map_io.hxx.