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

#include <InspectorValues.h>

Inheritance diagram for Inspector::InspectorArrayBase:
Inspector::InspectorValue Inspector::InspectorValue Inspector::InspectorArray Inspector::InspectorArray Inspector::Protocol::Array< T > Inspector::Protocol::Array< T >

Public Types

typedef Vector< RefPtr< InspectorValue > >::iterator iterator
 
typedef Vector< RefPtr< InspectorValue > >::const_iterator const_iterator
 
typedef Vector< RefPtr< InspectorValue > >::iterator iterator
 
typedef Vector< RefPtr< InspectorValue > >::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

unsigned length () const
 
unsigned length () const
 
- 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 asObject (RefPtr< InspectorObject > &)
 
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 asObject (RefPtr< InspectorObject > &)
 
String toJSONString () const
 

Protected Member Functions

virtual ~InspectorArrayBase ()
 
bool asArray (RefPtr< InspectorArray > &) override
 
void pushBoolean (bool)
 
void pushInteger (int)
 
void pushDouble (double)
 
void pushString (const String &)
 
void pushValue (RefPtr< InspectorValue > &&)
 
void pushObject (RefPtr< InspectorObjectBase > &&)
 
void pushArray (RefPtr< InspectorArrayBase > &&)
 
RefPtr< InspectorValueget (size_t index) const
 
void writeJSON (StringBuilder &output) const override
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
 InspectorArrayBase ()
 
virtual ~InspectorArrayBase ()
 
bool asArray (RefPtr< InspectorArray > &) override
 
void pushBoolean (bool)
 
void pushInteger (int)
 
void pushDouble (double)
 
void pushString (const String &)
 
void pushValue (RefPtr< InspectorValue > &&)
 
void pushObject (RefPtr< InspectorObjectBase > &&)
 
void pushArray (RefPtr< InspectorArrayBase > &&)
 
RefPtr< InspectorValueget (size_t index) const
 
void writeJSON (StringBuilder &output) const override
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
 InspectorArrayBase ()
 
- 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

◆ ~InspectorArrayBase() [1/2]

Inspector::InspectorArrayBase::~InspectorArrayBase ( )
protectedvirtual

◆ InspectorArrayBase() [1/2]

Inspector::InspectorArrayBase::InspectorArrayBase ( )
protected

◆ ~InspectorArrayBase() [2/2]

virtual Inspector::InspectorArrayBase::~InspectorArrayBase ( )
protectedvirtual

◆ InspectorArrayBase() [2/2]

Inspector::InspectorArrayBase::InspectorArrayBase ( )
protected

Member Function Documentation

◆ asArray() [1/2]

bool Inspector::InspectorArrayBase::asArray ( RefPtr< InspectorArray > &  output)
overrideprotectedvirtual

Reimplemented from Inspector::InspectorValue.

◆ asArray() [2/2]

bool Inspector::InspectorArrayBase::asArray ( RefPtr< InspectorArray > &  )
overrideprotectedvirtual

Reimplemented from Inspector::InspectorValue.

◆ begin() [1/4]

iterator Inspector::InspectorArrayBase::begin ( )
inlineprotected

◆ begin() [2/4]

iterator Inspector::InspectorArrayBase::begin ( )
inlineprotected

◆ begin() [3/4]

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

◆ begin() [4/4]

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

◆ end() [1/4]

iterator Inspector::InspectorArrayBase::end ( )
inlineprotected

◆ end() [2/4]

iterator Inspector::InspectorArrayBase::end ( )
inlineprotected

◆ end() [3/4]

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

◆ end() [4/4]

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

◆ get() [1/2]

RefPtr< InspectorValue > Inspector::InspectorArrayBase::get ( size_t  index) const
protected

◆ get() [2/2]

RefPtr<InspectorValue> Inspector::InspectorArrayBase::get ( size_t  index) const
protected

◆ length() [1/2]

unsigned Inspector::InspectorArrayBase::length ( void  ) const
inline

◆ length() [2/2]

unsigned Inspector::InspectorArrayBase::length ( ) const
inline

◆ pushArray() [1/2]

void Inspector::InspectorArrayBase::pushArray ( RefPtr< InspectorArrayBase > &&  value)
inlineprotected

◆ pushArray() [2/2]

void Inspector::InspectorArrayBase::pushArray ( RefPtr< InspectorArrayBase > &&  )
protected

◆ pushBoolean() [1/2]

void Inspector::InspectorArrayBase::pushBoolean ( bool  )
protected

◆ pushBoolean() [2/2]

void Inspector::InspectorArrayBase::pushBoolean ( bool  value)
inlineprotected

◆ pushDouble() [1/2]

void Inspector::InspectorArrayBase::pushDouble ( double  value)
inlineprotected

◆ pushDouble() [2/2]

void Inspector::InspectorArrayBase::pushDouble ( double  )
protected

◆ pushInteger() [1/2]

void Inspector::InspectorArrayBase::pushInteger ( int  value)
inlineprotected

◆ pushInteger() [2/2]

void Inspector::InspectorArrayBase::pushInteger ( int  )
protected

◆ pushObject() [1/2]

void Inspector::InspectorArrayBase::pushObject ( RefPtr< InspectorObjectBase > &&  value)
inlineprotected

◆ pushObject() [2/2]

void Inspector::InspectorArrayBase::pushObject ( RefPtr< InspectorObjectBase > &&  )
protected

◆ pushString() [1/2]

void Inspector::InspectorArrayBase::pushString ( const String &  value)
inlineprotected

◆ pushString() [2/2]

void Inspector::InspectorArrayBase::pushString ( const String &  )
protected

◆ pushValue() [1/2]

void Inspector::InspectorArrayBase::pushValue ( RefPtr< InspectorValue > &&  )
protected

◆ pushValue() [2/2]

void Inspector::InspectorArrayBase::pushValue ( RefPtr< InspectorValue > &&  value)
inlineprotected

◆ writeJSON() [1/2]

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

Reimplemented from Inspector::InspectorValue.

◆ writeJSON() [2/2]

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

Reimplemented from Inspector::InspectorValue.


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