00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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