Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

vector2< T > Struct Template Reference

#include <fack.hpp>

List of all members.

Public Member Functions

 vector2 (int w, int h)
 vector2 ()
get (int x, int y) const
void set (int x, int y, const T &val)
void fill_with (const T &val)

Public Attributes

vector< T > v
int w
int h

template<class T>
struct vector2< T >


Constructor & Destructor Documentation

template<class T>
vector2< T >::vector2 int  w,
int  h
[inline]
 

Definition at line 310 of file fack.hpp.

template<class T>
vector2< T >::vector2  )  [inline]
 

Definition at line 317 of file fack.hpp.


Member Function Documentation

template<class T>
void vector2< T >::fill_with const T &  val  ) 
 

Definition at line 4887 of file fack.cc.

References vector2< T >::h, vector2< T >::v, and vector2< T >::w.

Referenced by path_finding::best_route().

template<class T>
T vector2< T >::get int  x,
int  y
const [inline]
 

Definition at line 320 of file fack.hpp.

Referenced by path_finding::best_route().

template<class T>
void vector2< T >::set int  x,
int  y,
const T &  val
[inline]
 

Definition at line 326 of file fack.hpp.

Referenced by path_finding::best_route().


Member Data Documentation

template<class T>
int vector2< T >::h
 

Definition at line 308 of file fack.hpp.

Referenced by vector2< T >::fill_with().

template<class T>
vector<T> vector2< T >::v
 

Definition at line 306 of file fack.hpp.

Referenced by vector2< T >::fill_with().

template<class T>
int vector2< T >::w
 

Definition at line 308 of file fack.hpp.

Referenced by vector2< T >::fill_with().


The documentation for this struct was generated from the following files:
Generated on Wed May 25 15:36:14 2005 for FACK by  doxygen 1.4.0