webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
Inspector::Protocol::Array< T > Class Template Reference

#include <InspectorProtocolTypes.h>

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

Public Member Functions

void addItem (Ref< T > &&value)
 
void addItem (RefPtr< T > &&value)
 
void addItem (const String &value)
 
void addItem (int value)
 
void addItem (double value)
 
void addItem (Ref< T > &&value)
 
void addItem (RefPtr< T > &&value)
 
void addItem (const String &value)
 
void addItem (int value)
 
void addItem (double value)
 
- Public Member Functions inherited from Inspector::InspectorArrayBase
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
 

Static Public Member Functions

static Ref< Array< T > > create ()
 
static Ref< Array< T > > create ()
 
- 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

- Public Types inherited from Inspector::InspectorArrayBase
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
}
 
- Static Public Attributes inherited from Inspector::InspectorValue
static const int maxDepth = 1000
 
- Protected Member Functions inherited from Inspector::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 ()
 
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)
 

Member Function Documentation

◆ addItem() [1/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( Ref< T > &&  value)
inline

◆ addItem() [2/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( Ref< T > &&  value)
inline

◆ addItem() [3/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( RefPtr< T > &&  value)
inline

◆ addItem() [4/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( RefPtr< T > &&  value)
inline

◆ addItem() [5/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( const String &  value)
inline

◆ addItem() [6/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( const String &  value)
inline

◆ addItem() [7/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( int  value)
inline

◆ addItem() [8/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( int  value)
inline

◆ addItem() [9/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( double  value)
inline

◆ addItem() [10/10]

template<typename T >
void Inspector::Protocol::Array< T >::addItem ( double  value)
inline

◆ create() [1/2]

template<typename T >
static Ref<Array<T> > Inspector::Protocol::Array< T >::create ( )
inlinestatic

◆ create() [2/2]

template<typename T >
static Ref<Array<T> > Inspector::Protocol::Array< T >::create ( )
inlinestatic

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