|
Orcus
|
#include <css_selector.hpp>
Public Types | |
| using | value_type = std::variant<std::string_view, css::rgba_color_t, css::hsla_color_t> |
Public Member Functions | |
| css_property_value_t (const css_property_value_t &r) | |
| css_property_value_t (std::string_view _str) | |
| css_property_value_t & | operator= (const css_property_value_t &r) |
| void | swap (css_property_value_t &r) |
Public Attributes | |
| css::property_value_t | type |
| value_type | value |
Structure representing a single CSS property value.
| orcus::css_property_value_t::css_property_value_t | ( | std::string_view | _str | ) |
Constructor that takes a string value.
| _str | string value to store. This value should point to a string buffer that's already been interned. The caller is responsible for managing the life cycle of the source string buffer. |