39 std::string *str =
new std::string(value);
40 if (!this->insert(str).second) {
52 std::string *str =
new std::string(value);
53 if (this->end() != this->
find(str)) {
64 StringSet::iterator pos;
65 for (pos = this->begin(); pos != this->end(); ++pos) {
66 std::cout <<
"'" <<**pos <<
"'" << std::endl;
74 StringSet::iterator pos;
75 for (pos = this->begin(); pos != this->end(); ++pos) {
StringSet()
Creates string set.
void add(const char *value)
Adds entry to string set.
int find(const char *value)
Finds entry in string set.
virtual ~StringSet()
Destroys stringset.
void print()
Prints content of string set to console.