00001 #ifndef _MY_VecDoubleStack_
00002 #define _MY_VecDoubleStack_
00003 #include "vecdoubleref.h"
00004
00005
00008 template<unsigned int dim>
00009 class VecDoubleStack : public VecDoubleRef
00010 {
00011 protected:
00012 double data[dim];
00013 protected:
00014
00015 public:
00016 VecDoubleStack(){setRef(data,dim);}
00017
00018
00019 virtual ~VecDoubleStack(){assert(val==data);}
00020
00021 };
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053 #endif