44 bool operator() (std::string *value1, std::string *value2)
const {
45 if (value1->compare(*value2) < 0) {
56 class StringSet : std::set<std::string *, StringComperator> {
59 void add(
const char *value);
60 using std::set<std::string *, StringComperator>::begin;
61 using std::set<std::string *, StringComperator>::count;
62 using std::set<std::string *, StringComperator>::end;
63 using std::set<std::string *, StringComperator>::find;
64 int find(
const char *value);
65 using std::set<std::string *, StringComperator>::iterator;
StringSet()
Creates string set.
void add(const char *value)
Adds entry to string set.
Set of pointers to strings.
bool operator()(std::string *value1, std::string *value2) const
Compares two strings.
int find(const char *value)
Finds entry in string set.
virtual ~StringSet()
Destroys stringset.
void print()
Prints content of string set to console.