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

IndexList.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 INDEXLIST_H
00015 #define INDEXLIST_H
00016 
00017 #include "rgma/Index.h"
00018 #include <vector>
00019 #include <string>
00020 
00021 namespace glite
00022 {
00023     namespace rgma
00024     {
00028         class IndexList
00029         {
00030             public:
00031                 IndexList();
00032                 ~IndexList(){}
00033 
00041                 Index getIndex(int index);
00049                 void add(Index index);
00050                 int size();
00051             private:
00052                 std::vector<Index> m_indexList;
00053 
00054         };
00055         std::ostream& operator<<( std::ostream& stream, IndexList indexList);
00056     }
00057 }
00058 #endif

Generated on Wed Apr 25 19:11:32 2007 for glite-rgma-api-cpp by doxygen 1.3.5