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

StringList.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 STRINGLIST_H
00015 #define STRINGLIST_H
00016 #include "rgma/RGMAException.h"
00017 #include <vector>
00018 #include <string>
00019 namespace glite
00020 {
00021     namespace rgma
00022     {
00026         class StringList
00027         {
00028             public:
00029 
00030                 StringList();
00031                 virtual ~StringList();
00032 
00038                 void addString(std::string string);
00045                 void addString(int index, std::string string)throw(RGMAException);
00051                 int size();
00059                 std::string getString( int index );
00060 
00061             private:
00062                 std::vector<std::string> m_strings;
00063 
00064         };
00065     }
00066 }
00067 #endif                                            // STRINGLIST_H

Generated on Fri Mar 16 14:00:16 2007 for glite-rgma-api-cpp by doxygen 1.3.5