Functions
core/vil/io/vil_io_smart_ptr.h File Reference

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

#include <vsl/vsl_binary_io.h>
#include <vil/vil_smart_ptr.h>

Go to the source code of this file.

Functions

template<class T >
void vsl_b_write (vsl_b_ostream &os, const vil_smart_ptr< T > &v)
 Binary save vil_smart_ptr to stream.
template<class T >
void vsl_b_read (vsl_b_istream &is, vil_smart_ptr< T > &v)
 Binary load vil_smart_ptr from stream.
template<class T >
void vsl_print_summary (vcl_ostream &os, const vil_smart_ptr< T > &b)
 Print human readable summary of object to a stream.

Detailed Description

Serialised binary IO functions for vil_smart_ptr<T>

Author:
Tim Cootes/Ian Scott (Manchester)

In order to use IO for smart pointers you will need to have the IO functions defined for pointers to MY_CLASS (class T.) If you have written I/O for polymorphic classes, some of these functions may already be defined.

Definition in file vil_io_smart_ptr.h.


Function Documentation

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

Binary load vil_smart_ptr from stream.

Definition at line 65 of file vil_io_smart_ptr.txx.

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

Binary save vil_smart_ptr to stream.

Definition at line 16 of file vil_io_smart_ptr.txx.

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

Print human readable summary of object to a stream.

Definition at line 124 of file vil_io_smart_ptr.txx.