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

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

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

Go to the source code of this file.

Defines

#define vsl_string_io_txx_
#define VSL_STRING_IO_INSTANTIATE(T)

Functions

template<class T >
void vsl_b_write (vsl_b_ostream &s, const vcl_basic_string< T > &v)
 Write basic_string to binary stream.
template<class T >
void vsl_b_read (vsl_b_istream &is, vcl_basic_string< T > &v)
 Read basic_string from binary stream.

Detailed Description

binary IO functions for vcl_basic_string<T>

Author:
K.Y.McGaul

Definition in file vsl_string_io.txx.


Define Documentation

#define VSL_STRING_IO_INSTANTIATE (   T)
Value:
template void vsl_b_write(vsl_b_ostream& s, const vcl_basic_string<T >& v); \
template void vsl_b_read(vsl_b_istream& s, vcl_basic_string<T >& v)

Definition at line 52 of file vsl_string_io.txx.

#define vsl_string_io_txx_

Definition at line 3 of file vsl_string_io.txx.


Function Documentation

template<class T >
void vsl_b_read ( vsl_b_istream is,
vcl_basic_string< T > &  v 
)

Read basic_string from binary stream.

Read string from binary stream.

Definition at line 28 of file vsl_string_io.txx.

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

Write basic_string to binary stream.

Write string to binary stream.

Definition at line 15 of file vsl_string_io.txx.