webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebKit::WebPreferencesStore::Value Struct Reference

#include <WebPreferencesStore.h>

Public Types

enum  Type {
  Type::None, Type::String, Type::Bool, Type::UInt32,
  Type::Double
}
 

Public Member Functions

void encode (IPC::Encoder &) const
 
 Value ()
 
 Value (const String &value)
 
 Value (bool value)
 
 Value (uint32_t value)
 
 Value (double value)
 
 Value (Value &&value)
 
Valueoperator= (const Value &other)
 
 ~Value ()
 
Type type () const
 
String asString () const
 
bool asBool () const
 
uint32_t asUInt32 () const
 
double asDouble () const
 

Static Public Member Functions

static bool decode (IPC::Decoder &, Value &)
 

Member Enumeration Documentation

◆ Type

enum WebKit::WebPreferencesStore::Value::Type
strong
Enumerator
None 
String 
Bool 
UInt32 
Double 

Constructor & Destructor Documentation

◆ Value() [1/6]

WebKit::WebPreferencesStore::Value::Value ( )
inlineexplicit

◆ Value() [2/6]

WebKit::WebPreferencesStore::Value::Value ( const String value)
inlineexplicit

◆ Value() [3/6]

WebKit::WebPreferencesStore::Value::Value ( bool  value)
inlineexplicit

◆ Value() [4/6]

WebKit::WebPreferencesStore::Value::Value ( uint32_t  value)
inlineexplicit

◆ Value() [5/6]

WebKit::WebPreferencesStore::Value::Value ( double  value)
inlineexplicit

◆ Value() [6/6]

WebKit::WebPreferencesStore::Value::Value ( Value &&  value)
inline

◆ ~Value()

WebKit::WebPreferencesStore::Value::~Value ( )
inline

Member Function Documentation

◆ asBool()

bool WebKit::WebPreferencesStore::Value::asBool ( ) const
inline

◆ asDouble()

double WebKit::WebPreferencesStore::Value::asDouble ( ) const
inline

◆ asString()

String WebKit::WebPreferencesStore::Value::asString ( ) const
inline

◆ asUInt32()

uint32_t WebKit::WebPreferencesStore::Value::asUInt32 ( ) const
inline

◆ decode()

bool WebKit::WebPreferencesStore::Value::decode ( IPC::Decoder decoder,
Value result 
)
static

◆ encode()

void WebKit::WebPreferencesStore::Value::encode ( IPC::Encoder encoder) const

◆ operator=()

Value& WebKit::WebPreferencesStore::Value::operator= ( const Value other)
inline

◆ type()

Type WebKit::WebPreferencesStore::Value::type ( ) const
inline

Member Data Documentation

◆ m_bool

bool WebKit::WebPreferencesStore::Value::m_bool

◆ m_double

double WebKit::WebPreferencesStore::Value::m_double

◆ m_string

String WebKit::WebPreferencesStore::Value::m_string

◆ m_uint32

uint32_t WebKit::WebPreferencesStore::Value::m_uint32

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