arr2< T > Class Template Reference
[Array classes]

#include <arr.h>

Inheritance diagram for arr2< T >:

arr2T< T, normalAlloc__< T > >

List of all members.

Public Member Functions

 arr2 ()
 arr2 (tsize sz1, tsize sz2)
 arr2 (T *p, tsize sz1, tsize sz2)
 arr2 (tsize sz1, tsize sz2, const T &inival)


Detailed Description

template<typename T>
class arr2< T >

Two-dimensional array type. The storage ordering is the same as in C. An entry is located by address arithmetic, not by double dereferencing. The indices start at zero.

Definition at line 474 of file arr.h.


Constructor & Destructor Documentation

template<typename T>
arr2< T >::arr2 (  )  [inline]

Creates a zero-sized array.

Definition at line 478 of file arr.h.

template<typename T>
arr2< T >::arr2 ( tsize  sz1,
tsize  sz2 
) [inline]

Creates an array with the dimensions sz1 and sz2.

Definition at line 480 of file arr.h.

template<typename T>
arr2< T >::arr2 ( T *  p,
tsize  sz1,
tsize  sz2 
) [inline]

Creates an array with the dimensions sz1 and sz2 from existing pointer.

Definition at line 483 of file arr.h.

template<typename T>
arr2< T >::arr2 ( tsize  sz1,
tsize  sz2,
const T &  inival 
) [inline]

Creates an array with the dimensions sz1 and sz2 and initializes them with inival.

Definition at line 486 of file arr.h.


The documentation for this class was generated from the following file:

Generated on Thu Oct 8 14:48:51 2015 for LevelS C++ support library