Macros | Functions
vbl_io_sparse_array_base.hxx File Reference
#include <iostream>
#include "vbl_io_sparse_array_base.h"
#include <vsl/vsl_pair_io.h>
#include <vsl/vsl_binary_io.h>

Go to the source code of this file.

Macros

#define VBL_IO_SPARSE_ARRAY_BASE_INSTANTIATE(T, I)
 

Functions

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

Macro Definition Documentation

◆ VBL_IO_SPARSE_ARRAY_BASE_INSTANTIATE

#define VBL_IO_SPARSE_ARRAY_BASE_INSTANTIATE (   T,
 
)
Value:
template void vsl_print_summary(std::ostream &, const vbl_sparse_array_base<T , I > &); \
template void vsl_b_read(vsl_b_istream &, vbl_sparse_array_base<T , I > &); \
template void vsl_b_write(vsl_b_ostream &, const vbl_sparse_array_base<T , I > &)
void vsl_b_write(vsl_b_ostream &os, const vbl_sparse_array_base< T, Index > &p)
Binary save self to stream.
void vsl_b_read(vsl_b_istream &is, vbl_sparse_array_base< T, Index > &p)
Binary load self from stream.
A fully featured sparse array which devolves indexing to its templated type.
void vsl_print_summary(std::ostream &os, const vbl_sparse_array_base< T, Index > &p)
Output a human readable summary to the stream.

Definition at line 84 of file vbl_io_sparse_array_base.hxx.

Function Documentation

◆ vsl_b_read()

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

Binary load self from stream.

Binary load vbl_sparse_array_base from stream.

Definition at line 31 of file vbl_io_sparse_array_base.hxx.

◆ vsl_b_write()

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

Binary save self to stream.

Binary save vbl_sparse_array_base to stream.

Definition at line 15 of file vbl_io_sparse_array_base.hxx.

◆ vsl_print_summary()

template<class T , class Index >
void vsl_print_summary ( std::ostream &  os,
const vbl_sparse_array_base< T, Index > &  p 
)

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 65 of file vbl_io_sparse_array_base.hxx.