00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TYPES_H
00015 #define TYPES_H
00016 #include <map>
00017 #include <string>
00018 namespace glite
00019 {
00020 namespace rgma
00021 {
00025 class Types
00026 {
00027 public:
00028
00029 virtual ~Types();
00030
00036 const static int INTEGER;
00037
00043 const static int REAL;
00044
00050 const static int DOUBLE;
00051
00057 const static int CHAR;
00058
00064 const static int VARCHAR;
00070 const static int BOOLEAN;
00071
00077 const static int TIMESTAMP;
00084 const static int DATE;
00091 const static int TIME;
00099 static std::string getTypeName(int type);
00100
00101 private:
00102
00103 const static std::map<int,std::string> TYPE_NAMES;
00104 };
00105
00106 }
00107 }
00108 #endif // TYPES_H