Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

Types.h

00001 /*
00002  *  Copyright (c) 2004 on behalf of the EU EGEE Project:
00003  *  The European Organization for Nuclear Research (CERN),
00004  *  Istituto Nazionale di Fisica Nucleare (INFN), Italy
00005  *  Datamat Spa, Italy
00006  *  Centre National de la Recherche Scientifique (CNRS), France
00007  *  CS Systeme d'Information (CSSI), France
00008  *  Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
00009  *  Universiteit van Amsterdam (UvA), Netherlands
00010  *  University of Helsinki (UH.HIP), Finland
00011  *  University of Bergen (UiB), Norway
00012  *  Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
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

Generated on Thu May 11 19:23:43 2006 for glite-rgma-api-cpp by doxygen 1.3.5