Macros | Functions
vnl_io_sparse_matrix.hxx File Reference
#include <iostream>
#include "vnl_io_sparse_matrix.h"
#include <vnl/vnl_sparse_matrix.h>
#include <vsl/vsl_binary_io.h>
#include <cassert>

Go to the source code of this file.

Macros

#define VNL_IO_SPARSE_MATRIX_INSTANTIATE(T)
 

Functions

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

Macro Definition Documentation

◆ VNL_IO_SPARSE_MATRIX_INSTANTIATE

#define VNL_IO_SPARSE_MATRIX_INSTANTIATE (   T)
Value:
template VNL_EXPORT void vsl_print_summary(std::ostream &, const vnl_sparse_matrix<T > &); \
template VNL_EXPORT void vsl_b_read(vsl_b_istream &, vnl_sparse_matrix<T > &); \
template VNL_EXPORT void vsl_b_write(vsl_b_ostream &, const vnl_sparse_matrix<T > &)
void vsl_print_summary(std::ostream &os, vnl_bignum const &b)
Print human readable summary of object to a stream.
Simple sparse matrix.
void vsl_b_read(vsl_b_istream &is, vnl_bignum &v)
Binary load vnl_bignum from stream.
void vsl_b_write(vsl_b_ostream &os, vnl_bignum const &v)
Binary save vnl_bignum to stream.

Definition at line 159 of file vnl_io_sparse_matrix.hxx.

Function Documentation

◆ vsl_b_read() [1/2]

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

Binary load self from stream.

Definition at line 35 of file vnl_io_sparse_matrix.hxx.

◆ vsl_b_read() [2/2]

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

Binary load self from stream.

Binary load vnl_sparse_matrix from stream.

Definition at line 96 of file vnl_io_sparse_matrix.hxx.

◆ vsl_b_write() [1/2]

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

Binary save self to stream.

Definition at line 24 of file vnl_io_sparse_matrix.hxx.

◆ vsl_b_write() [2/2]

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

Binary save self to stream.

Binary save vnl_sparse_matrix to stream.

Definition at line 69 of file vnl_io_sparse_matrix.hxx.

◆ vsl_print_summary() [1/2]

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

Output a human readable summary to the stream.

Definition at line 59 of file vnl_io_sparse_matrix.hxx.

◆ vsl_print_summary() [2/2]

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

Output a human readable summary to the stream.

Print human readable summary of object to a stream.

Definition at line 146 of file vnl_io_sparse_matrix.hxx.