Webdar 1.0.0
Web user interface to libdar
Public Member Functions | List of all members
css_class_group Class Reference

manages a set of css class names More...

#include <css_class_group.hpp>

Public Member Functions

 css_class_group (const css_class_group &ref)=default
 
 css_class_group (css_class_group &&ref) noexcept=default
 
css_class_groupoperator= (const css_class_group &ref)=default
 
css_class_groupoperator= (css_class_group &&ref) noexcept=default
 
void add_css_class (const std::string &name)
 add a class name to the list
 
void add_css_class (const css_class_group &cg)
 a a class group to a class the list
 
void remove_css_class (const std::string &name)
 remove a class from the list
 
void clear_css_classes ()
 remove all classes
 
void reset_read () const
 restart reading from the first element
 
bool read_next (std::string &next_class) const
 read the next element or return false
 
bool is_empty () const
 return true if the class group is empty
 

Detailed Description

manages a set of css class names

this is only a way to manipulate a list of existing class names no class definition is done here just a list of names as a set


The documentation for this class was generated from the following files: