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

Implementation binary IO functions for vcl_(multi)map<Key, T, Compare> More...

#include "vsl_map_io.h"
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_indent.h>
#include <vsl/vsl_pair_io.h>

Go to the source code of this file.

Defines

#define vsl_map_io_txx_
#define VSL_MAP_IO_INSTANTIATE(Key, T, Compare)
#define VSL_MULTIMAP_IO_INSTANTIATE(Key, T, Compare)

Functions

template<class Key , class T , class Compare >
void vsl_b_write (vsl_b_ostream &s, const vcl_map< Key, T, Compare > &v)
 Write map to binary stream.
template<class Key , class T , class Compare >
void vsl_b_read (vsl_b_istream &is, vcl_map< Key, T, Compare > &v)
 Read map from binary stream.
template<class Key , class T , class Compare >
void vsl_print_summary (vcl_ostream &os, const vcl_map< Key, T, Compare > &v)
 Output a human readable summary to the stream.
template<class Key , class T , class Compare >
void vsl_b_write (vsl_b_ostream &s, const vcl_multimap< Key, T, Compare > &v)
 Write multimap to binary stream.
template<class Key , class T , class Compare >
void vsl_b_read (vsl_b_istream &is, vcl_multimap< Key, T, Compare > &v)
 Read multimap from binary stream.
template<class Key , class T , class Compare >
void vsl_print_summary (vcl_ostream &os, const vcl_multimap< Key, T, Compare > &v)
 Output a human readable summary to the stream.

Detailed Description

Implementation binary IO functions for vcl_(multi)map<Key, T, Compare>

Author:
K.Y.McGaul
    Modifications
     IMS - 22 June 2001 - Added IO for multimap
   

Definition in file vsl_map_io.txx.


Define Documentation

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

Definition at line 89 of file vsl_map_io.txx.

#define vsl_map_io_txx_

Definition at line 3 of file vsl_map_io.txx.

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

Definition at line 163 of file vsl_map_io.txx.


Function Documentation

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

Read map from binary stream.

Definition at line 37 of file vsl_map_io.txx.

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

Read multimap from binary stream.

Read map from binary stream.

Definition at line 113 of file vsl_map_io.txx.

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

Write map to binary stream.

Definition at line 22 of file vsl_map_io.txx.

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

Write multimap to binary stream.

Write map to binary stream.

Definition at line 97 of file vsl_map_io.txx.

template<class Key , class T , class Compare >
void vsl_print_summary ( vcl_ostream &  os,
const vcl_map< Key, T, Compare > &  v 
)

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 69 of file vsl_map_io.txx.

template<class Key , class T , class Compare >
void vsl_print_summary ( vcl_ostream &  os,
const vcl_multimap< Key, T, Compare > &  v 
)

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 145 of file vsl_map_io.txx.