Style value variable.
More...
#include <style_set_value.h>
|
| bool | is_angle () const |
| | Check if value is an angle.
|
| bool | is_color () const |
| | Check if value is a color.
|
| bool | is_frequency () const |
| | Check if value is a frequency.
|
| bool | is_keyword () const |
| | Check if value is a keyword.
|
| bool | is_keyword (const char *keyword) const |
| bool | is_keyword (const std::string &keyword) const |
| bool | is_length () const |
| | Check if value is a length.
|
| bool | is_number () const |
| | Check if value is a number.
|
| bool | is_percentage () const |
| | Check if value is a percentage.
|
| bool | is_resolution () const |
| | Check if value is a resolution.
|
| bool | is_string () const |
| | Check if value is a string.
|
| bool | is_time () const |
| | Check if value is a time.
|
| bool | is_undefined () const |
| | Check if value is undefined.
|
| bool | is_url () const |
| | Check if value is an url.
|
◆ from_angle()
◆ from_color()
◆ from_frequency()
◆ from_keyword()
| StyleSetValue clan::StyleSetValue::from_keyword |
( |
const std::string & | keyword | ) |
|
|
inlinestatic |
◆ from_length()
◆ from_number()
◆ from_percentage()
| StyleSetValue clan::StyleSetValue::from_percentage |
( |
float | percentage | ) |
|
|
inlinestatic |
◆ from_resolution()
◆ from_string()
| StyleSetValue clan::StyleSetValue::from_string |
( |
const std::string & | text | ) |
|
|
inlinestatic |
◆ from_time()
◆ from_url()
| StyleSetValue clan::StyleSetValue::from_url |
( |
const std::string & | url | ) |
|
|
inlinestatic |
◆ is_angle()
| bool clan::StyleSetValue::is_angle |
( |
| ) |
const |
|
inline |
◆ is_color()
| bool clan::StyleSetValue::is_color |
( |
| ) |
const |
|
inline |
◆ is_frequency()
| bool clan::StyleSetValue::is_frequency |
( |
| ) |
const |
|
inline |
◆ is_keyword() [1/3]
| bool clan::StyleSetValue::is_keyword |
( |
| ) |
const |
|
inline |
◆ is_keyword() [2/3]
| bool clan::StyleSetValue::is_keyword |
( |
const char * | keyword | ) |
const |
|
inline |
◆ is_keyword() [3/3]
| bool clan::StyleSetValue::is_keyword |
( |
const std::string & | keyword | ) |
const |
|
inline |
◆ is_length()
| bool clan::StyleSetValue::is_length |
( |
| ) |
const |
|
inline |
◆ is_number()
| bool clan::StyleSetValue::is_number |
( |
| ) |
const |
|
inline |
◆ is_percentage()
| bool clan::StyleSetValue::is_percentage |
( |
| ) |
const |
|
inline |
◆ is_resolution()
| bool clan::StyleSetValue::is_resolution |
( |
| ) |
const |
|
inline |
◆ is_string()
| bool clan::StyleSetValue::is_string |
( |
| ) |
const |
|
inline |
◆ is_time()
| bool clan::StyleSetValue::is_time |
( |
| ) |
const |
|
inline |
◆ is_undefined()
| bool clan::StyleSetValue::is_undefined |
( |
| ) |
const |
|
inline |
◆ is_url()
| bool clan::StyleSetValue::is_url |
( |
| ) |
const |
|
inline |
◆ color
| Colorf clan::StyleSetValue::color |
◆ dimension
◆ number
| float clan::StyleSetValue::number = 0.0f |
◆ text
| std::string clan::StyleSetValue::text |
◆ type
Variant type.
Referenced by from_angle(), from_color(), from_frequency(), from_keyword(), from_length(), from_number(), from_percentage(), from_resolution(), from_string(), from_time(), from_url(), is_angle(), is_color(), is_frequency(), is_keyword(), is_length(), is_number(), is_percentage(), is_resolution(), is_string(), is_time(), is_undefined(), and is_url().
The documentation for this class was generated from the following file: