1 #ifndef __CHARSETLIST_H 2 #define __CHARSETLIST_H 3 4 #include <vector> 5 #include <string> 6 7 using namespace std; 8 9 class CharsetList: 10 public vector<string> 11 { 12 private: 13 14 bool policy; 15 16 void append(const string &); 17 18 public: 19 20 CharsetList(bool); 21 CharsetList(bool,const string &); 22 23 CharsetList &operator =(const string &); 24 CharsetList &operator +=(const string &); 25 26 bool contains(const string &); 27 }; 28 29 #endif /* __CHARSETLIST_H */ 30