Defines | Functions
core/vbl/io/vbl_io_smart_ptr.txx File Reference

Serialised binary IO functions for vbl_smart_ptr<T> More...

#include "vbl_io_smart_ptr.h"
#include <vsl/vsl_binary_io.h>
#include <vbl/vbl_smart_ptr.h>
#include <vcl_cstdlib.h>

Go to the source code of this file.

Defines

#define vbl_io_smart_ptr_txx_
#define VBL_IO_SMART_PTR_INSTANTIATE(T)

Functions

template<class T >
void vsl_b_write (vsl_b_ostream &os, const vbl_smart_ptr< T > &p)
 Binary save self to stream.
template<class T >
void vsl_b_read (vsl_b_istream &is, vbl_smart_ptr< T > &p)
 Binary load self from stream.
template<class T >
void vsl_print_summary (vcl_ostream &os, const vbl_smart_ptr< T > &p)
 Output a human readable summary to the stream.

Detailed Description

Serialised binary IO functions for vbl_smart_ptr<T>

Author:
Ian Scott (Manchester)
Date:
26-Mar-2001

Definition in file vbl_io_smart_ptr.txx.


Define Documentation

#define VBL_IO_SMART_PTR_INSTANTIATE (   T)
Value:
template void vsl_print_summary(vcl_ostream &, const vbl_smart_ptr<T > &); \
template void vsl_b_read(vsl_b_istream &, vbl_smart_ptr<T > &); \
template void vsl_b_write(vsl_b_ostream &, const vbl_smart_ptr<T > &)

Definition at line 180 of file vbl_io_smart_ptr.txx.

#define vbl_io_smart_ptr_txx_

Definition at line 3 of file vbl_io_smart_ptr.txx.


Function Documentation

template<class T >
void vsl_b_read ( vsl_b_istream &  is,
vbl_smart_ptr< T > &  p 
)

Binary load self from stream.

Binary load vbl_smart_ptr from stream.

Definition at line 89 of file vbl_io_smart_ptr.txx.

template<class T >
void vsl_b_write ( vsl_b_ostream &  os,
const vbl_smart_ptr< T > &  p 
)

Binary save self to stream.

Binary save vbl_smart_ptr to stream.

Definition at line 18 of file vbl_io_smart_ptr.txx.

template<class T >
void vsl_print_summary ( vcl_ostream &  os,
const vbl_smart_ptr< T > &  p 
)

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 162 of file vbl_io_smart_ptr.txx.