Defines | Functions
core/vil/io/vil_io_smart_ptr.txx File Reference

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

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

Go to the source code of this file.

Defines

#define vil_io_smart_ptr_txx_
#define VIL_IO_SMART_PTR_INSTANTIATE(T)

Functions

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

Detailed Description

Serialised binary IO functions for vil_smart_ptr<T>

Author:
Tim Cootes/Ian Scott (Manchester)

Definition in file vil_io_smart_ptr.txx.


Define Documentation

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

Definition at line 185 of file vil_io_smart_ptr.txx.

#define vil_io_smart_ptr_txx_

Definition at line 3 of file vil_io_smart_ptr.txx.


Function Documentation

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

Binary load self from stream.

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 self to stream.

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 
)

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 124 of file vil_io_smart_ptr.txx.