24#ifndef CSS_CLASS_GROUP_HPP
25#define CSS_CLASS_GROUP_HPP
72 bool read_next(std::string & next_class)
const;
75 bool is_empty()
const {
return content.empty(); };
78 std::set<std::string> content;
79 mutable std::set<std::string>::iterator reader;
manages a set of css class names
Definition: css_class_group.hpp:46
bool is_empty() const
return true if the class group is empty
Definition: css_class_group.hpp:75
bool read_next(std::string &next_class) const
read the next element or return false
Definition: css_class_group.cpp:82
void add_css_class(const std::string &name)
add a class name to the list
Definition: css_class_group.cpp:43
void remove_css_class(const std::string &name)
remove a class from the list
Definition: css_class_group.cpp:62
void clear_css_classes()
remove all classes
Definition: css_class_group.cpp:71
void reset_read() const
restart reading from the first element
Definition: css_class_group.cpp:77