webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Protected Member Functions | List of all members
Inspector::InspectorObjectBase Class Reference

#include <InspectorValues.h>

Inheritance diagram for Inspector::InspectorObjectBase:
Inspector::InspectorValue Inspector::InspectorValue Inspector::InspectorObject Inspector::InspectorObject Inspector::Protocol::ApplicationCache::ApplicationCache Inspector::Protocol::ApplicationCache::ApplicationCache Inspector::Protocol::ApplicationCache::ApplicationCacheResource Inspector::Protocol::ApplicationCache::ApplicationCacheResource Inspector::Protocol::ApplicationCache::FrameWithManifest Inspector::Protocol::ApplicationCache::FrameWithManifest Inspector::Protocol::Console::CallFrame Inspector::Protocol::Console::CallFrame Inspector::Protocol::Console::ConsoleMessage Inspector::Protocol::Console::ConsoleMessage Inspector::Protocol::Console::StackTrace Inspector::Protocol::Console::StackTrace Inspector::Protocol::CSS::CSSComputedStyleProperty Inspector::Protocol::CSS::CSSComputedStyleProperty Inspector::Protocol::CSS::CSSMedia Inspector::Protocol::CSS::CSSMedia Inspector::Protocol::CSS::CSSPropertyInfo Inspector::Protocol::CSS::CSSPropertyInfo Inspector::Protocol::CSS::CSSRule Inspector::Protocol::CSS::CSSRule Inspector::Protocol::CSS::CSSRuleId Inspector::Protocol::CSS::CSSRuleId Inspector::Protocol::CSS::CSSSelector Inspector::Protocol::CSS::CSSSelector Inspector::Protocol::CSS::CSSStyle Inspector::Protocol::CSS::CSSStyle Inspector::Protocol::CSS::CSSStyleAttribute Inspector::Protocol::CSS::CSSStyleAttribute Inspector::Protocol::CSS::CSSStyleId Inspector::Protocol::CSS::CSSStyleId Inspector::Protocol::CSS::CSSStyleSheetBody Inspector::Protocol::CSS::CSSStyleSheetBody Inspector::Protocol::CSS::CSSStyleSheetHeader Inspector::Protocol::CSS::CSSStyleSheetHeader Inspector::Protocol::CSS::InheritedStyleEntry Inspector::Protocol::CSS::InheritedStyleEntry Inspector::Protocol::CSS::NamedFlow Inspector::Protocol::CSS::NamedFlow Inspector::Protocol::CSS::PseudoIdMatches Inspector::Protocol::CSS::PseudoIdMatches Inspector::Protocol::CSS::Region Inspector::Protocol::CSS::Region Inspector::Protocol::CSS::RuleMatch Inspector::Protocol::CSS::RuleMatch Inspector::Protocol::CSS::SelectorList Inspector::Protocol::CSS::SelectorList Inspector::Protocol::CSS::ShorthandEntry Inspector::Protocol::CSS::ShorthandEntry Inspector::Protocol::CSS::SourceRange Inspector::Protocol::CSS::SourceRange Inspector::Protocol::Database::Database Inspector::Protocol::Database::Database Inspector::Protocol::Database::Error Inspector::Protocol::Database::Error Inspector::Protocol::Debugger::AssertPauseReason Inspector::Protocol::Debugger::AssertPauseReason Inspector::Protocol::Debugger::BreakpointAction Inspector::Protocol::Debugger::BreakpointAction Inspector::Protocol::Debugger::BreakpointOptions Inspector::Protocol::Debugger::BreakpointOptions Inspector::Protocol::Debugger::BreakpointPauseReason Inspector::Protocol::Debugger::BreakpointPauseReason Inspector::Protocol::Debugger::CallFrame Inspector::Protocol::Debugger::CallFrame Inspector::Protocol::Debugger::CSPViolationPauseReason Inspector::Protocol::Debugger::CSPViolationPauseReason Inspector::Protocol::Debugger::FunctionDetails Inspector::Protocol::Debugger::FunctionDetails Inspector::Protocol::Debugger::Location Inspector::Protocol::Debugger::Location Inspector::Protocol::Debugger::ProbeSample Inspector::Protocol::Debugger::ProbeSample Inspector::Protocol::Debugger::Scope Inspector::Protocol::Debugger::Scope Inspector::Protocol::DOM::AccessibilityProperties Inspector::Protocol::DOM::AccessibilityProperties Inspector::Protocol::DOM::EventListener Inspector::Protocol::DOM::EventListener Inspector::Protocol::DOM::HighlightConfig Inspector::Protocol::DOM::HighlightConfig Inspector::Protocol::DOM::Node Inspector::Protocol::DOM::Node Inspector::Protocol::DOM::RGBAColor Inspector::Protocol::DOM::RGBAColor Inspector::Protocol::DOMStorage::StorageId Inspector::Protocol::DOMStorage::StorageId Inspector::Protocol::GenericTypes::SearchMatch Inspector::Protocol::GenericTypes::SearchMatch Inspector::Protocol::Heap::GarbageCollection Inspector::Protocol::Heap::GarbageCollection Inspector::Protocol::LayerTree::CompositingReasons Inspector::Protocol::LayerTree::CompositingReasons Inspector::Protocol::LayerTree::IntRect Inspector::Protocol::LayerTree::IntRect Inspector::Protocol::LayerTree::Layer Inspector::Protocol::LayerTree::Layer Inspector::Protocol::Network::CachedResource Inspector::Protocol::Network::CachedResource Inspector::Protocol::Network::Initiator Inspector::Protocol::Network::Initiator Inspector::Protocol::Network::Request Inspector::Protocol::Network::Request Inspector::Protocol::Network::ResourceTiming Inspector::Protocol::Network::ResourceTiming Inspector::Protocol::Network::WebSocketFrame Inspector::Protocol::Network::WebSocketFrame Inspector::Protocol::Network::WebSocketRequest Inspector::Protocol::Network::WebSocketRequest Inspector::Protocol::Network::WebSocketResponse Inspector::Protocol::Network::WebSocketResponse Inspector::Protocol::OverlayTypes::ContentFlowData Inspector::Protocol::OverlayTypes::ContentFlowData Inspector::Protocol::OverlayTypes::ElementData Inspector::Protocol::OverlayTypes::ElementData Inspector::Protocol::OverlayTypes::FragmentHighlightData Inspector::Protocol::OverlayTypes::FragmentHighlightData Inspector::Protocol::OverlayTypes::NodeHighlightData Inspector::Protocol::OverlayTypes::NodeHighlightData Inspector::Protocol::OverlayTypes::OverlayConfiguration Inspector::Protocol::OverlayTypes::OverlayConfiguration Inspector::Protocol::OverlayTypes::Point Inspector::Protocol::OverlayTypes::Point Inspector::Protocol::OverlayTypes::Rect Inspector::Protocol::OverlayTypes::Rect Inspector::Protocol::OverlayTypes::Region Inspector::Protocol::OverlayTypes::Region Inspector::Protocol::OverlayTypes::RegionFlowData Inspector::Protocol::OverlayTypes::RegionFlowData Inspector::Protocol::OverlayTypes::ShapeOutsideData Inspector::Protocol::OverlayTypes::ShapeOutsideData Inspector::Protocol::OverlayTypes::Size Inspector::Protocol::OverlayTypes::Size Inspector::Protocol::Page::Cookie Inspector::Protocol::Page::Cookie Inspector::Protocol::Page::Frame Inspector::Protocol::Page::Frame Inspector::Protocol::Page::FrameResource Inspector::Protocol::Page::FrameResource Inspector::Protocol::Page::FrameResourceTree Inspector::Protocol::Page::FrameResourceTree Inspector::Protocol::Page::SearchResult Inspector::Protocol::Page::SearchResult Inspector::Protocol::Runtime::BasicBlock Inspector::Protocol::Runtime::BasicBlock Inspector::Protocol::Runtime::CallArgument Inspector::Protocol::Runtime::CallArgument Inspector::Protocol::Runtime::CollectionEntry Inspector::Protocol::Runtime::CollectionEntry Inspector::Protocol::Runtime::EntryPreview Inspector::Protocol::Runtime::EntryPreview Inspector::Protocol::Runtime::ErrorRange Inspector::Protocol::Runtime::ErrorRange Inspector::Protocol::Runtime::ExecutionContextDescription Inspector::Protocol::Runtime::ExecutionContextDescription Inspector::Protocol::Runtime::InternalPropertyDescriptor Inspector::Protocol::Runtime::InternalPropertyDescriptor Inspector::Protocol::Runtime::ObjectPreview Inspector::Protocol::Runtime::ObjectPreview Inspector::Protocol::Runtime::PropertyDescriptor Inspector::Protocol::Runtime::PropertyDescriptor Inspector::Protocol::Runtime::PropertyPreview Inspector::Protocol::Runtime::PropertyPreview Inspector::Protocol::Runtime::RemoteObject Inspector::Protocol::Runtime::RemoteObject Inspector::Protocol::Runtime::StructureDescription Inspector::Protocol::Runtime::StructureDescription Inspector::Protocol::Runtime::TypeDescription Inspector::Protocol::Runtime::TypeDescription Inspector::Protocol::Runtime::TypeLocation Inspector::Protocol::Runtime::TypeLocation Inspector::Protocol::Runtime::TypeSet Inspector::Protocol::Runtime::TypeSet Inspector::Protocol::ScriptProfiler::Event Inspector::Protocol::ScriptProfiler::Event Inspector::Protocol::ScriptProfiler::ExpressionLocation Inspector::Protocol::ScriptProfiler::ExpressionLocation Inspector::Protocol::ScriptProfiler::Samples Inspector::Protocol::ScriptProfiler::Samples Inspector::Protocol::ScriptProfiler::StackFrame Inspector::Protocol::ScriptProfiler::StackFrame Inspector::Protocol::ScriptProfiler::StackTrace Inspector::Protocol::ScriptProfiler::StackTrace

Public Types

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

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
 

Protected Member Functions

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)
 

Additional Inherited Members

- 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)
 
- Static Public Attributes inherited from Inspector::InspectorValue
static const int maxDepth = 1000
 

Member Typedef Documentation

◆ const_iterator [1/2]

◆ const_iterator [2/2]

◆ iterator [1/2]

◆ iterator [2/2]

Constructor & Destructor Documentation

◆ ~InspectorObjectBase() [1/2]

Inspector::InspectorObjectBase::~InspectorObjectBase ( )
protectedvirtual

◆ InspectorObjectBase() [1/2]

Inspector::InspectorObjectBase::InspectorObjectBase ( )
protected

◆ ~InspectorObjectBase() [2/2]

virtual Inspector::InspectorObjectBase::~InspectorObjectBase ( )
protectedvirtual

◆ InspectorObjectBase() [2/2]

Inspector::InspectorObjectBase::InspectorObjectBase ( )
protected

Member Function Documentation

◆ asObject() [1/2]

bool Inspector::InspectorObjectBase::asObject ( RefPtr< InspectorObject > &  output)
overrideprotectedvirtual

Reimplemented from Inspector::InspectorValue.

◆ asObject() [2/2]

bool Inspector::InspectorObjectBase::asObject ( RefPtr< InspectorObject > &  output)
overrideprotectedvirtual

Reimplemented from Inspector::InspectorValue.

◆ begin() [1/4]

iterator Inspector::InspectorObjectBase::begin ( )
inlineprotected

◆ begin() [2/4]

iterator Inspector::InspectorObjectBase::begin ( )
inlineprotected

◆ begin() [3/4]

const_iterator Inspector::InspectorObjectBase::begin ( ) const
inlineprotected

◆ begin() [4/4]

const_iterator Inspector::InspectorObjectBase::begin ( ) const
inlineprotected

◆ end() [1/4]

iterator Inspector::InspectorObjectBase::end ( )
inlineprotected

◆ end() [2/4]

iterator Inspector::InspectorObjectBase::end ( )
inlineprotected

◆ end() [3/4]

const_iterator Inspector::InspectorObjectBase::end ( ) const
inlineprotected

◆ end() [4/4]

const_iterator Inspector::InspectorObjectBase::end ( ) const
inlineprotected

◆ find() [1/4]

iterator Inspector::InspectorObjectBase::find ( const String &  name)
protected

◆ find() [2/4]

InspectorObjectBase::iterator Inspector::InspectorObjectBase::find ( const String &  name)
inlineprotected

◆ find() [3/4]

const_iterator Inspector::InspectorObjectBase::find ( const String &  name) const
protected

◆ find() [4/4]

InspectorObjectBase::const_iterator Inspector::InspectorObjectBase::find ( const String &  name) const
inlineprotected

◆ getArray() [1/2]

bool Inspector::InspectorObjectBase::getArray ( const String &  name,
RefPtr< InspectorArray > &  output 
) const
protected

◆ getArray() [2/2]

bool Inspector::InspectorObjectBase::getArray ( const String &  name,
RefPtr< InspectorArray > &   
) const
protected

◆ getBoolean() [1/2]

bool Inspector::InspectorObjectBase::getBoolean ( const String &  name,
bool &  output 
) const
protected

◆ getBoolean() [2/2]

bool Inspector::InspectorObjectBase::getBoolean ( const String &  name,
bool &  output 
) const
protected

◆ getDouble() [1/2]

template<class T >
bool Inspector::InspectorObjectBase::getDouble ( const String &  name,
T output 
) const
inlineprotected

◆ getDouble() [2/2]

template<class T >
bool Inspector::InspectorObjectBase::getDouble ( const String &  name,
T output 
) const
inlineprotected

◆ getInteger() [1/2]

template<class T >
bool Inspector::InspectorObjectBase::getInteger ( const String &  name,
T output 
) const
inlineprotected

◆ getInteger() [2/2]

template<class T >
bool Inspector::InspectorObjectBase::getInteger ( const String &  name,
T output 
) const
inlineprotected

◆ getObject() [1/2]

bool Inspector::InspectorObjectBase::getObject ( const String &  name,
RefPtr< InspectorObject > &  output 
) const
protected

◆ getObject() [2/2]

bool Inspector::InspectorObjectBase::getObject ( const String &  name,
RefPtr< InspectorObject > &   
) const
protected

◆ getString() [1/2]

bool Inspector::InspectorObjectBase::getString ( const String &  name,
String &  output 
) const
protected

◆ getString() [2/2]

bool Inspector::InspectorObjectBase::getString ( const String &  name,
String &  output 
) const
protected

◆ getValue() [1/2]

bool Inspector::InspectorObjectBase::getValue ( const String &  name,
RefPtr< InspectorValue > &  output 
) const
protected

◆ getValue() [2/2]

bool Inspector::InspectorObjectBase::getValue ( const String &  name,
RefPtr< InspectorValue > &   
) const
protected

◆ openAccessors() [1/2]

InspectorObject * Inspector::InspectorObjectBase::openAccessors ( )

◆ openAccessors() [2/2]

InspectorObject* Inspector::InspectorObjectBase::openAccessors ( )

◆ remove() [1/2]

void Inspector::InspectorObjectBase::remove ( const String &  name)
protected

◆ remove() [2/2]

void Inspector::InspectorObjectBase::remove ( const String &  name)
protected

◆ setArray() [1/2]

void Inspector::InspectorObjectBase::setArray ( const String &  name,
RefPtr< InspectorArrayBase > &&  value 
)
inlineprotected

◆ setArray() [2/2]

void Inspector::InspectorObjectBase::setArray ( const String &  name,
RefPtr< InspectorArrayBase > &&   
)
protected

◆ setBoolean() [1/2]

void Inspector::InspectorObjectBase::setBoolean ( const String &  name,
bool  value 
)
inlineprotected

◆ setBoolean() [2/2]

void Inspector::InspectorObjectBase::setBoolean ( const String &  name,
bool   
)
protected

◆ setDouble() [1/2]

void Inspector::InspectorObjectBase::setDouble ( const String &  name,
double  value 
)
inlineprotected

◆ setDouble() [2/2]

void Inspector::InspectorObjectBase::setDouble ( const String &  name,
double   
)
protected

◆ setInteger() [1/2]

void Inspector::InspectorObjectBase::setInteger ( const String &  name,
int  value 
)
inlineprotected

◆ setInteger() [2/2]

void Inspector::InspectorObjectBase::setInteger ( const String &  name,
int   
)
protected

◆ setObject() [1/2]

void Inspector::InspectorObjectBase::setObject ( const String &  name,
RefPtr< InspectorObjectBase > &&  value 
)
inlineprotected

◆ setObject() [2/2]

void Inspector::InspectorObjectBase::setObject ( const String &  name,
RefPtr< InspectorObjectBase > &&   
)
protected

◆ setString() [1/2]

void Inspector::InspectorObjectBase::setString ( const String &  name,
const String &   
)
protected

◆ setString() [2/2]

void Inspector::InspectorObjectBase::setString ( const String &  name,
const String &  value 
)
inlineprotected

◆ setValue() [1/2]

void Inspector::InspectorObjectBase::setValue ( const String &  name,
RefPtr< InspectorValue > &&   
)
protected

◆ setValue() [2/2]

void Inspector::InspectorObjectBase::setValue ( const String &  name,
RefPtr< InspectorValue > &&  value 
)
inlineprotected

◆ size() [1/2]

int Inspector::InspectorObjectBase::size ( ) const
inlineprotected

◆ size() [2/2]

int Inspector::InspectorObjectBase::size ( ) const
inlineprotected

◆ writeJSON() [1/2]

void Inspector::InspectorObjectBase::writeJSON ( StringBuilder &  output) const
overrideprotectedvirtual

Reimplemented from Inspector::InspectorValue.

◆ writeJSON() [2/2]

void Inspector::InspectorObjectBase::writeJSON ( StringBuilder &  output) const
overrideprotectedvirtual

Reimplemented from Inspector::InspectorValue.


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