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

Index.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 INDEX_H
00015 #define INDEX_H
00016 
00017 #include <vector>
00018 #include <string>
00019 
00020 namespace glite
00021 {
00022     namespace rgma
00023     {
00027         class Index
00028         {
00029             public:
00033                 Index(std::string indexName, std::vector<std::string> columnNames);
00034                 Index( const Index& index );
00035                 Index& operator=(const Index& index );
00036 
00037                 virtual ~Index(){}
00043                 std::string getName();
00044 
00052                 std::string getColumnName(int columnNumber);
00058                 std::vector<std::string> getColumnNames();
00059 
00065                 int size();
00066 
00067             private:
00071                 std::string m_name;
00072 
00073                 std::vector<std::string> m_columnNames;
00074 
00075         };
00076         std::ostream& operator<<( std::ostream& stream, Index index);
00077     }
00078 }
00079 #endif

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