Classes | Macros | Functions
vbl_array_3d.h File Reference

Contains class for templated 3d array. More...

#include <cstddef>
#include <iosfwd>
#include <cassert>

Go to the source code of this file.

Classes

class  vbl_array_3d< T >
 Templated 3-dimensional array. More...
 

Macros

#define RANGECHECK(i, j, k)
 
#define VBL_ARRAY_3D_INSTANTIATE   extern "please include vbl/vbl_array_3d.hxx instead"
 
#define VBL_ARRAY_3D_IO_INSTANTIATE   extern "please include vbl/vbl_array_3d.hxx instead"
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &, vbl_array_3d< T >const &)
 
template<class T >
std::istream & operator>> (std::istream &, vbl_array_3d< T > &)
 

Detailed Description

Contains class for templated 3d array.

Author
Paul Beardsley, Oxford University, UK
Date
29 Mar 1996
  Modifications
   1996-09-26 AWF Converted to non-fascist C++ :-)
   1997-02-18 AWF Templated
   01 Mar 2001 fsm. Converted to fascist C++
   PDA (Manchester) 21 Mar 2001: Tidied up the documentation
   Peter Vanroose 3 Jan. 2002 added operator==
   Peter Vanroose 4 Jan. 2002 bug fix: 3rd arg row2_count_ --> row3_count_

Definition in file vbl_array_3d.h.

Macro Definition Documentation

◆ RANGECHECK

#define RANGECHECK (   i,
  j,
 
)
Value:
assert(((size_type)(i) < row1_count_) && \
((size_type)(j) < row2_count_) && ((size_type)(k) < row3_count_))

Definition at line 31 of file vbl_array_3d.h.

◆ VBL_ARRAY_3D_INSTANTIATE

#define VBL_ARRAY_3D_INSTANTIATE   extern "please include vbl/vbl_array_3d.hxx instead"

Definition at line 165 of file vbl_array_3d.h.

◆ VBL_ARRAY_3D_IO_INSTANTIATE

#define VBL_ARRAY_3D_IO_INSTANTIATE   extern "please include vbl/vbl_array_3d.hxx instead"

Definition at line 167 of file vbl_array_3d.h.

Function Documentation

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  ,
vbl_array_3d< T >const &   
)

Definition at line 118 of file vbl_array_3d.hxx.

◆ operator>>()

template<class T >
std::istream& operator>> ( std::istream &  ,
vbl_array_3d< T > &   
)

Definition at line 136 of file vbl_array_3d.hxx.