Matrix< Z > Class Template Reference

#include <matrix.h>

Collaboration diagram for Matrix< Z >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Matrix (int width, int height, const Z &initial)
 Matrix (int width, int height)
 ~Matrix ()
void init (const Z &initial)
Z & operator() (int x, int y)
Z & operator() (coord_def c)
const Z & operator() (int x, int y) const
const Z & operator() (coord_def c) const
int width () const
int height () const

template<typename Z>
class Matrix< Z >


Constructor & Destructor Documentation

template<typename Z>
Matrix< Z >::Matrix ( int  width,
int  height,
const Z &  initial 
) [inline]

Here is the call graph for this function:

template<typename Z>
Matrix< Z >::Matrix ( int  width,
int  height 
) [inline]

template<typename Z>
Matrix< Z >::~Matrix (  )  [inline]


Member Function Documentation

template<typename Z>
void Matrix< Z >::init ( const Z &  initial  )  [inline]

template<typename Z>
Z& Matrix< Z >::operator() ( int  x,
int  y 
) [inline]

template<typename Z>
Z& Matrix< Z >::operator() ( coord_def  c  )  [inline]

template<typename Z>
const Z& Matrix< Z >::operator() ( int  x,
int  y 
) const [inline]

template<typename Z>
const Z& Matrix< Z >::operator() ( coord_def  c  )  const [inline]

template<typename Z>
int Matrix< Z >::width (  )  const [inline]

template<typename Z>
int Matrix< Z >::height (  )  const [inline]


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

Generated on Thu Jan 13 13:36:40 2011 by  doxygen 1.5.6