00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #if !defined(GTBASISLIST_HPP)
00015 #define GTBASISLIST_HPP
00016
00017 #include "gtypes.h"
00018 #include <iostream.h>
00019 #include <stdlib.h>
00020 #include "gobjlist.hpp"
00021 #include "gllbasis.hpp"
00022 #include "glbasis.hpp"
00023
00024 #if !defined(GTBasisListGLL)
00025 # define GTBasisListGLL GTBasisList<GLLBasis>
00026 #endif
00027
00028 #if !defined(GTBasisListGL)
00029 # define GTBasisListGL GTBasisList<GLBasis>
00030 #endif
00031
00032
00033 template <class TT> class GTBasisList : public GObjList<TT>
00034 {
00035
00036 public:
00037 GTBasisList(GBOOL renumber_on_delete=FALSE);
00038 GTBasisList(GINT nelems, GBOOL renumber_on_delete=FALSE);
00039 GTBasisList(const GTBasisList &);
00040 ~GTBasisList();
00041
00042 void add(GINT order);
00043 GBOOL findorder(GINT order);
00044 GBOOL findorder(GINT order, GINT &ind);
00045
00046 private:
00047
00048
00049
00050
00051 };
00052 # if defined(_LINUX) || defined(_AIX)
00053 template class GTBasisList<GLLBasis>;
00054 template class GTBasisList<GLBasis>;
00055 # endif
00056 #endif
00057