Photon 1.0.0
Loading...
Searching...
No Matches
litehtml::property_value Struct Reference

#include <style.h>

Inheritance diagram for litehtml::property_value:
litehtml::variant< invalid, inherit, int, int_vector, css_length, length_vector, float, web_color, vector< image >, string, string_vector, size_vector, css_token_vector >

Public Member Functions

 property_value ()
 
template<class T >
 property_value (const T &val, bool important, bool has_var=false)
 
- Public Member Functions inherited from litehtml::variant< invalid, inherit, int, int_vector, css_length, length_vector, float, web_color, vector< image >, string, string_vector, size_vector, css_token_vector >
bool is () const
 
const T & get () const
 
T & get ()
 

Public Attributes

bool m_important = false
 
bool m_has_var = false
 

Additional Inherited Members

- Public Types inherited from litehtml::variant< invalid, inherit, int, int_vector, css_length, length_vector, float, web_color, vector< image >, string, string_vector, size_vector, css_token_vector >
using base = variant< Types... >
 

Constructor & Destructor Documentation

◆ property_value() [1/2]

litehtml::property_value::property_value ( )
inline

◆ property_value() [2/2]

template<class T >
litehtml::property_value::property_value ( const T &  val,
bool  important,
bool  has_var = false 
)
inline

Member Data Documentation

◆ m_has_var

bool litehtml::property_value::m_has_var = false

◆ m_important

bool litehtml::property_value::m_important = false

The documentation for this struct was generated from the following file: