Defines | Functions
core/vsl/vsl_b_read_block_old.h File Reference

Backwards compatibility support only. More...

#include <vxl_config.h>
#include <vcl_iostream.h>
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_binary_explicit_io.h>
#include <vcl_deprecated.h>

Go to the source code of this file.

Defines

#define VCL_VC_6_STATIC

Functions

template<class T >
VCL_VC_6_STATIC void vsl_b_read_block_old (vsl_b_istream &is, T *begin, vcl_size_t nelems)
 Read a block of values from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, double *begin, vcl_size_t nelems)
 Read a block of doubles from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, float *begin, vcl_size_t nelems)
 Read a block of floats from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, int *begin, vcl_size_t nelems)
 Read a block of signed ints from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, unsigned int *begin, vcl_size_t nelems)
 Read a block of unsigned ints from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, short *begin, vcl_size_t nelems)
 Read a block of signed shorts from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, unsigned short *begin, vcl_size_t nelems)
 Read a block of unsigned shorts from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, long *begin, vcl_size_t nelems)
 Read a block of signed longs from a vsl_b_istream.
VCL_DEFINE_SPECIALIZATION
VCL_VC_6_STATIC void 
vsl_b_read_block_old (vsl_b_istream &is, unsigned long *begin, vcl_size_t nelems)
 Read a block of unsigned longs from a vsl_b_istream.

Detailed Description

Backwards compatibility support only.

Author:
Ian Scott (Manchester) May 2003

This file should only be used by existing binary io code that wishes to maintain backwards compatibility with existing VSL files. Users should have no reason to include this file.

Definition in file vsl_b_read_block_old.h.


Define Documentation

#define VCL_VC_6_STATIC

Definition at line 23 of file vsl_b_read_block_old.h.


Function Documentation

template<class T >
VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
T *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of values from a vsl_b_istream.

If you want to output a block of fundamental data types very efficiently, then just #include <vsl_binary_explicit_io.h>

Deprecated:
in favour of vsl_block_binary_read

Definition at line 42 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
double *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of doubles from a vsl_b_istream.

This function is very speed efficient.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 55 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
float *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of floats from a vsl_b_istream.

This function is very speed efficient.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 68 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
int *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of signed ints from a vsl_b_istream.

This function is very speed efficient, but temporarily allocates a block of memory the about 1.2 times size of the block being read.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 83 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
unsigned int *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of unsigned ints from a vsl_b_istream.

This function is very speed efficient, but temporarily allocates a block of memory the about 1.2 times size of the block being read.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 114 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
short *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of signed shorts from a vsl_b_istream.

This function is very speed efficient, but temporarily allocates a block of memory the about 1.2 times size of the block being read.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 145 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
unsigned short *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of unsigned shorts from a vsl_b_istream.

This function is very speed efficient, but temporarily allocates a block of memory the about 1.2 times size of the block being read.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 176 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
long *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of signed longs from a vsl_b_istream.

This function is very speed efficient, but temporarily allocates a block of memory the about 1.2 times size of the block being read.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 207 of file vsl_b_read_block_old.h.

VCL_DEFINE_SPECIALIZATION VCL_VC_6_STATIC void vsl_b_read_block_old ( vsl_b_istream is,
unsigned long *  begin,
vcl_size_t  nelems 
) [inline]

Read a block of unsigned longs from a vsl_b_istream.

This function is very speed efficient, but temporarily allocates a block of memory the about 1.2 times size of the block being read.

Deprecated:
in favour of vsl_block_binary_read

Definition at line 238 of file vsl_b_read_block_old.h.