Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

containers.h File Reference

This header declares container classes that are used in simthetic. More...

#include <string>
#include <iostream>
#include <simthetic/misc.h>
#include <simthetic/exceptions.h>
#include <simthetic/checkedvector.h>
#include <simthetic/array.h>
#include <simthetic/phbib.h>

Go to the source code of this file.

Namespaces

namespace  simth

Functions

template<class T>
void twoDim2oneDim (const Array2d< T > &arr, Array< T > *vec, bool fortranlike=false)
template<class T>
void oneDim2twoDim (const Array< T > &vec, size_t xSize, size_t ySize, Array2d< T > *arr, bool fortranlike=false)
template<class T>
std::ostream & operator<< (std::ostream &os, const Array2d< T > &a)


Detailed Description

This header declares container classes that are used in simthetic.

Especially, one can use the simth::checkedVector classes to implement sequences. These classes act like an std::vector but offer an additional range check depending whether the macro DEBUG is defined or not. In order to enhance the runtime speed this check mechanism can de disabled by setting the macro DEBUG (defined in misc.h) to false.


Generated on Mon Apr 24 21:19:19 2006 for simthetic by  doxygen 1.4.1