![]() |
Webdar 1.0.0
Web user interface to libdar
|
class css_library More...
#include <css_library.hpp>
Public Member Functions | |
css_library (const css_library &ref)=default | |
css_library (css_library &&ref) noexcept=default | |
css_library & | operator= (const css_library &ref)=default |
css_library & | operator= (css_library &&ref) noexcept=default |
void | add (const css_class &value) |
add a new class to the library (must not already exist in the library) | |
void | add (const std::string &name, const css &value) |
add on-fly a new class to the library from its name and a css object | |
bool | class_exists (const std::string &name) const |
check whether a class has a definition in this library object | |
bool | get_value (const std::string &name, std::string &stored_value) const |
obtain the definition of the given class | |
void | del (const std::string &name) |
remove a class from the library | |
unsigned int | size () const |
return the number of class in that library | |
std::string | get_html_class_definitions () const |
provide a css definition of all classes of the library suitable for HTML headers or CSS files | |
class css_library
holds a list of css classes (css name and its associated set of css properties (aka css object))