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