webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
Inspector::Protocol::Runtime::ObjectPreview Class Reference

#include <InspectorProtocolObjects.h>

Inheritance diagram for Inspector::Protocol::Runtime::ObjectPreview:
Inspector::InspectorObjectBase Inspector::InspectorObjectBase Inspector::InspectorValue Inspector::InspectorValue Inspector::InspectorValue Inspector::InspectorValue

Classes

class  Builder
 

Public Types

enum  Type {
  Type::Object = 109, Type::Function = 110, Type::Undefined = 111, Type::String = 83,
  Type::Number = 82, Type::Boolean = 112, Type::Symbol = 113, Type::Object = 109,
  Type::Function = 110, Type::Undefined = 111, Type::String = 83, Type::Number = 82,
  Type::Boolean = 112, Type::Symbol = 113
}
 
enum  Subtype {
  Subtype::Array = 84, Subtype::Null = 85, Subtype::Node = 114, Subtype::Regexp = 115,
  Subtype::Date = 60, Subtype::Error = 29, Subtype::Map = 116, Subtype::Set = 117,
  Subtype::Weakmap = 118, Subtype::Weakset = 119, Subtype::Iterator = 120, Subtype::Class = 121,
  Subtype::Proxy = 122, Subtype::Array = 84, Subtype::Null = 85, Subtype::Node = 114,
  Subtype::Regexp = 115, Subtype::Date = 60, Subtype::Error = 29, Subtype::Map = 116,
  Subtype::Set = 117, Subtype::Weakmap = 118, Subtype::Weakset = 119, Subtype::Iterator = 120,
  Subtype::Class = 121, Subtype::Proxy = 122
}
 
enum  { NoFieldsSet = 0, TypeSet = 1 << 0, LosslessSet = 1 << 1, AllFieldsSet = (TypeSet | LosslessSet) }
 
enum  Type {
  Type::Object = 109, Type::Function = 110, Type::Undefined = 111, Type::String = 83,
  Type::Number = 82, Type::Boolean = 112, Type::Symbol = 113, Type::Object = 109,
  Type::Function = 110, Type::Undefined = 111, Type::String = 83, Type::Number = 82,
  Type::Boolean = 112, Type::Symbol = 113
}
 
enum  Subtype {
  Subtype::Array = 84, Subtype::Null = 85, Subtype::Node = 114, Subtype::Regexp = 115,
  Subtype::Date = 60, Subtype::Error = 29, Subtype::Map = 116, Subtype::Set = 117,
  Subtype::Weakmap = 118, Subtype::Weakset = 119, Subtype::Iterator = 120, Subtype::Class = 121,
  Subtype::Proxy = 122, Subtype::Array = 84, Subtype::Null = 85, Subtype::Node = 114,
  Subtype::Regexp = 115, Subtype::Date = 60, Subtype::Error = 29, Subtype::Map = 116,
  Subtype::Set = 117, Subtype::Weakmap = 118, Subtype::Weakset = 119, Subtype::Iterator = 120,
  Subtype::Class = 121, Subtype::Proxy = 122
}
 
enum  { NoFieldsSet = 0, TypeSet = 1 << 0, LosslessSet = 1 << 1, AllFieldsSet = (TypeSet | LosslessSet) }
 
- Public Types inherited from Inspector::InspectorObjectBase
typedef Dictionary::iterator iterator
 
typedef Dictionary::const_iterator const_iterator
 
typedef Dictionary::iterator iterator
 
typedef Dictionary::const_iterator const_iterator
 
- Public Types inherited from Inspector::InspectorValue
enum  Type {
  Type::Null = 0, Type::Boolean, Type::Double, Type::Integer,
  Type::String, Type::Object, Type::Array, Type::Null = 0,
  Type::Boolean, Type::Double, Type::Integer, Type::String,
  Type::Object, Type::Array
}
 
enum  Type {
  Type::Null = 0, Type::Boolean, Type::Double, Type::Integer,
  Type::String, Type::Object, Type::Array, Type::Null = 0,
  Type::Boolean, Type::Double, Type::Integer, Type::String,
  Type::Object, Type::Array
}
 

Public Member Functions

void setSubtype (Subtype value)
 
void setDescription (const String &value)
 
void setOverflow (bool value)
 
void setProperties (RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::PropertyPreview >> value)
 
void setEntries (RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::EntryPreview >> value)
 
void setSize (int value)
 
void setSubtype (Subtype value)
 
void setDescription (const String &value)
 
void setOverflow (bool value)
 
void setProperties (RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::PropertyPreview >> value)
 
void setEntries (RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::EntryPreview >> value)
 
void setSize (int value)
 
- Public Member Functions inherited from Inspector::InspectorObjectBase
InspectorObjectopenAccessors ()
 
InspectorObjectopenAccessors ()
 
- Public Member Functions inherited from Inspector::InspectorValue
virtual ~InspectorValue ()
 
Type type () const
 
bool isNull () const
 
bool asBoolean (bool &) const
 
bool asInteger (int &) const
 
bool asInteger (unsigned &) const
 
bool asInteger (long &) const
 
bool asInteger (long long &) const
 
bool asInteger (unsigned long &) const
 
bool asInteger (unsigned long long &) const
 
bool asDouble (double &) const
 
bool asDouble (float &) const
 
bool asString (String &) const
 
bool asValue (RefPtr< InspectorValue > &)
 
virtual bool asArray (RefPtr< InspectorArray > &)
 
String toJSONString () const
 
virtual ~InspectorValue ()
 
Type type () const
 
bool isNull () const
 
bool asBoolean (bool &) const
 
bool asInteger (int &) const
 
bool asInteger (unsigned &) const
 
bool asInteger (long &) const
 
bool asInteger (long long &) const
 
bool asInteger (unsigned long &) const
 
bool asInteger (unsigned long long &) const
 
bool asDouble (double &) const
 
bool asDouble (float &) const
 
bool asString (String &) const
 
bool asValue (RefPtr< InspectorValue > &)
 
virtual bool asArray (RefPtr< InspectorArray > &)
 
String toJSONString () const
 

Static Public Member Functions

static Builder< NoFieldsSetcreate ()
 
static Builder< NoFieldsSetcreate ()
 
- Static Public Member Functions inherited from Inspector::InspectorValue
static Ref< InspectorValuenull ()
 
static Ref< InspectorValuecreate (bool)
 
static Ref< InspectorValuecreate (int)
 
static Ref< InspectorValuecreate (double)
 
static Ref< InspectorValuecreate (const String &)
 
static Ref< InspectorValuecreate (const char *)
 
static bool parseJSON (const String &jsonInput, RefPtr< InspectorValue > &output)
 
static Ref< InspectorValuenull ()
 
static Ref< InspectorValuecreate (bool)
 
static Ref< InspectorValuecreate (int)
 
static Ref< InspectorValuecreate (double)
 
static Ref< InspectorValuecreate (const String &)
 
static Ref< InspectorValuecreate (const char *)
 
static bool parseJSON (const String &jsonInput, RefPtr< InspectorValue > &output)
 

Additional Inherited Members

- Static Public Attributes inherited from Inspector::InspectorValue
static const int maxDepth = 1000
 
- Protected Member Functions inherited from Inspector::InspectorObjectBase
virtual ~InspectorObjectBase ()
 
bool asObject (RefPtr< InspectorObject > &output) override
 
void setBoolean (const String &name, bool)
 
void setInteger (const String &name, int)
 
void setDouble (const String &name, double)
 
void setString (const String &name, const String &)
 
void setValue (const String &name, RefPtr< InspectorValue > &&)
 
void setObject (const String &name, RefPtr< InspectorObjectBase > &&)
 
void setArray (const String &name, RefPtr< InspectorArrayBase > &&)
 
iterator find (const String &name)
 
const_iterator find (const String &name) const
 
bool getBoolean (const String &name, bool &output) const
 
template<class T >
bool getDouble (const String &name, T &output) const
 
template<class T >
bool getInteger (const String &name, T &output) const
 
bool getString (const String &name, String &output) const
 
bool getObject (const String &name, RefPtr< InspectorObject > &) const
 
bool getArray (const String &name, RefPtr< InspectorArray > &) const
 
bool getValue (const String &name, RefPtr< InspectorValue > &) const
 
void remove (const String &name)
 
void writeJSON (StringBuilder &output) const override
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
int size () const
 
 InspectorObjectBase ()
 
virtual ~InspectorObjectBase ()
 
bool asObject (RefPtr< InspectorObject > &output) override
 
void setBoolean (const String &name, bool)
 
void setInteger (const String &name, int)
 
void setDouble (const String &name, double)
 
void setString (const String &name, const String &)
 
void setValue (const String &name, RefPtr< InspectorValue > &&)
 
void setObject (const String &name, RefPtr< InspectorObjectBase > &&)
 
void setArray (const String &name, RefPtr< InspectorArrayBase > &&)
 
iterator find (const String &name)
 
const_iterator find (const String &name) const
 
bool getBoolean (const String &name, bool &output) const
 
template<class T >
bool getDouble (const String &name, T &output) const
 
template<class T >
bool getInteger (const String &name, T &output) const
 
bool getString (const String &name, String &output) const
 
bool getObject (const String &name, RefPtr< InspectorObject > &) const
 
bool getArray (const String &name, RefPtr< InspectorArray > &) const
 
bool getValue (const String &name, RefPtr< InspectorValue > &) const
 
void remove (const String &name)
 
void writeJSON (StringBuilder &output) const override
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
int size () const
 
 InspectorObjectBase ()
 
- Protected Member Functions inherited from Inspector::InspectorValue
 InspectorValue ()
 
 InspectorValue (Type type)
 
 InspectorValue (bool value)
 
 InspectorValue (int value)
 
 InspectorValue (double value)
 
 InspectorValue (const String &value)
 
 InspectorValue (const char *value)
 
 InspectorValue ()
 
 InspectorValue (Type type)
 
 InspectorValue (bool value)
 
 InspectorValue (int value)
 
 InspectorValue (double value)
 
 InspectorValue (const String &value)
 
 InspectorValue (const char *value)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NoFieldsSet 
TypeSet 
LosslessSet 
AllFieldsSet 

◆ anonymous enum

anonymous enum
Enumerator
NoFieldsSet 
TypeSet 
LosslessSet 
AllFieldsSet 

◆ Subtype [1/2]

Enumerator
Array 
Null 
Node 
Regexp 
Date 
Error 
Map 
Set 
Weakmap 
Weakset 
Iterator 
Class 
Proxy 
Array 
Null 
Node 
Regexp 
Date 
Error 
Map 
Set 
Weakmap 
Weakset 
Iterator 
Class 
Proxy 

◆ Subtype [2/2]

Enumerator
Array 
Null 
Node 
Regexp 
Date 
Error 
Map 
Set 
Weakmap 
Weakset 
Iterator 
Class 
Proxy 
Array 
Null 
Node 
Regexp 
Date 
Error 
Map 
Set 
Weakmap 
Weakset 
Iterator 
Class 
Proxy 

◆ Type [1/2]

Enumerator
Object 
Function 
Undefined 
String 
Number 
Boolean 
Symbol 
Object 
Function 
Undefined 
String 
Number 
Boolean 
Symbol 

◆ Type [2/2]

Enumerator
Object 
Function 
Undefined 
String 
Number 
Boolean 
Symbol 
Object 
Function 
Undefined 
String 
Number 
Boolean 
Symbol 

Member Function Documentation

◆ create() [1/2]

static Builder<NoFieldsSet> Inspector::Protocol::Runtime::ObjectPreview::create ( )
inlinestatic

◆ create() [2/2]

static Builder<NoFieldsSet> Inspector::Protocol::Runtime::ObjectPreview::create ( )
inlinestatic

◆ setDescription() [1/2]

void Inspector::Protocol::Runtime::ObjectPreview::setDescription ( const String &  value)
inline

◆ setDescription() [2/2]

void Inspector::Protocol::Runtime::ObjectPreview::setDescription ( const String &  value)
inline

◆ setEntries() [1/2]

void Inspector::Protocol::Runtime::ObjectPreview::setEntries ( RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::EntryPreview >>  value)
inline

◆ setEntries() [2/2]

void Inspector::Protocol::Runtime::ObjectPreview::setEntries ( RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::EntryPreview >>  value)
inline

◆ setOverflow() [1/2]

void Inspector::Protocol::Runtime::ObjectPreview::setOverflow ( bool  value)
inline

◆ setOverflow() [2/2]

void Inspector::Protocol::Runtime::ObjectPreview::setOverflow ( bool  value)
inline

◆ setProperties() [1/2]

void Inspector::Protocol::Runtime::ObjectPreview::setProperties ( RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::PropertyPreview >>  value)
inline

◆ setProperties() [2/2]

void Inspector::Protocol::Runtime::ObjectPreview::setProperties ( RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Runtime::PropertyPreview >>  value)
inline

◆ setSize() [1/2]

void Inspector::Protocol::Runtime::ObjectPreview::setSize ( int  value)
inline

◆ setSize() [2/2]

void Inspector::Protocol::Runtime::ObjectPreview::setSize ( int  value)
inline

◆ setSubtype() [1/2]

void Inspector::Protocol::Runtime::ObjectPreview::setSubtype ( Subtype  value)
inline

◆ setSubtype() [2/2]

void Inspector::Protocol::Runtime::ObjectPreview::setSubtype ( Subtype  value)
inline

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