1#include "relmodel.hh"
2
3map<string, sqltype *> sqltype::typemap;
4
5sqltype *sqltype::get(string n) {
6 if (typemap.count(n))
7 return typemap[n];
8 else
9 return typemap[n] = new sqltype(n);
10}
11
12bool sqltype::consistent(struct sqltype *rvalue) {
13 return this == rvalue;
14}
15