webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Member Functions | List of all members
API::Array Class Referencefinal

#include <APIArray.h>

Inheritance diagram for API::Array:
API::ObjectImpl< Object::Type::Array > API::Object

Public Member Functions

Vector< WTF::StringtoStringVector ()
 
Ref< Arraycopy ()
 
virtual ~Array ()
 
template<typename T >
Tat (size_t i) const
 
Objectat (size_t i) const
 
size_t size () const
 
const Vector< RefPtr< Object > > & elements () const
 
Vector< RefPtr< Object > > & elements ()
 
template<typename T >
ElementsOfTypeRange< TelementsOfType () const
 
template<typename MatchFunction >
unsigned removeAllMatching (const MatchFunction &matchFunction)
 
template<typename T , typename MatchFunction >
unsigned removeAllOfTypeMatching (const MatchFunction &matchFunction)
 
- Public Member Functions inherited from API::ObjectImpl< Object::Type::Array >
virtual ~ObjectImpl ()
 
- Public Member Functions inherited from API::Object
virtual ~Object ()
 

Static Public Member Functions

static Ref< Arraycreate ()
 
static Ref< Arraycreate (Vector< RefPtr< Object >> &&)
 
static Ref< ArraycreateStringArray (const Vector< WTF::String > &)
 
- Static Public Member Functions inherited from API::Object
static voidwrap (API::Object *)
 
static API::Objectunwrap (void *)
 

Additional Inherited Members

- Public Types inherited from API::Object
enum  Type {
  Type::Null = 0, Type::Array, Type::AuthenticationChallenge, Type::AuthenticationDecisionListener,
  Type::CertificateInfo, Type::Connection, Type::ContextMenuItem, Type::Credential,
  Type::Data, Type::Dictionary, Type::Error, Type::FrameHandle,
  Type::Image, Type::PageGroupData, Type::PageHandle, Type::PageGroupHandle,
  Type::ProtectionSpace, Type::RenderLayer, Type::RenderObject, Type::SecurityOrigin,
  Type::SessionState, Type::SerializedScriptValue, Type::String, Type::URL,
  Type::URLRequest, Type::URLResponse, Type::UserContentURLPattern, Type::UserScript,
  Type::UserStyleSheet, Type::WebArchive, Type::WebArchiveResource, Type::Boolean,
  Type::Double, Type::UInt64, Type::Point, Type::Size,
  Type::Rect, Type::ApplicationCacheManager, Type::AutomationSession, Type::BackForwardList,
  Type::BackForwardListItem, Type::CacheManager, Type::ColorPickerResultListener, Type::ContextMenuListener,
  Type::CookieManager, Type::Download, Type::ExperimentalFeature, Type::FormSubmissionListener,
  Type::Frame, Type::FrameInfo, Type::FramePolicyListener, Type::FullScreenManager,
  Type::GeolocationManager, Type::GeolocationPermissionRequest, Type::HitTestResult, Type::GeolocationPosition,
  Type::GrammarDetail, Type::IconDatabase, Type::Inspector, Type::KeyValueStorageManager,
  Type::MediaCacheManager, Type::Navigation, Type::NavigationAction, Type::NavigationData,
  Type::NavigationResponse, Type::Notification, Type::NotificationManager, Type::NotificationPermissionRequest,
  Type::OpenPanelParameters, Type::OpenPanelResultListener, Type::OriginDataManager, Type::Page,
  Type::PageConfiguration, Type::PageGroup, Type::ProcessPool, Type::ProcessPoolConfiguration,
  Type::PluginSiteDataManager, Type::Preferences, Type::ResourceLoadStatisticsStore, Type::RunBeforeUnloadConfirmPanelResultListener,
  Type::RunJavaScriptAlertResultListener, Type::RunJavaScriptConfirmResultListener, Type::RunJavaScriptPromptResultListener, Type::TextChecker,
  Type::UserContentController, Type::UserContentExtension, Type::UserContentExtensionStore, Type::UserContentWorld,
  Type::UserInitiatedAction, Type::UserMediaPermissionCheck, Type::UserMediaPermissionRequest, Type::Vibration,
  Type::ViewportAttributes, Type::VisitedLinkStore, Type::WebResourceLoadStatisticsManager, Type::WebsiteDataRecord,
  Type::WebsiteDataStore, Type::WebsitePolicies, Type::WindowFeatures, Type::Bundle,
  Type::BundleBackForwardList, Type::BundleBackForwardListItem, Type::BundleCSSStyleDeclarationHandle, Type::BundleDOMWindowExtension,
  Type::BundleFileHandle, Type::BundleFrame, Type::BundleHitTestResult, Type::BundleInspector,
  Type::BundleNavigationAction, Type::BundleNodeHandle, Type::BundlePage, Type::BundlePageBanner,
  Type::BundlePageGroup, Type::BundlePageOverlay, Type::BundleRangeHandle, Type::BundleScriptWorld,
  Type::EditCommandProxy, Type::ObjCObjectGraph, Type::View
}
 
- Static Public Attributes inherited from API::ObjectImpl< Object::Type::Array >
static const Type APIType
 
- Protected Member Functions inherited from API::ObjectImpl< Object::Type::Array >
 ObjectImpl ()
 
Type type () const override
 
- Protected Member Functions inherited from API::Object
 Object ()
 

Constructor & Destructor Documentation

◆ ~Array()

API::Array::~Array ( )
virtual

Member Function Documentation

◆ at() [1/2]

template<typename T >
T* API::Array::at ( size_t  i) const
inline

◆ at() [2/2]

Object* API::Array::at ( size_t  i) const
inline

◆ copy()

Ref< API::Array > API::Array::copy ( )

◆ create() [1/2]

Ref< Array > API::Array::create ( )
static

◆ create() [2/2]

Ref< Array > API::Array::create ( Vector< RefPtr< Object >> &&  elements)
static

◆ createStringArray()

Ref< Array > API::Array::createStringArray ( const Vector< WTF::String > &  strings)
static

◆ elements() [1/2]

const Vector<RefPtr<Object> >& API::Array::elements ( ) const
inline

◆ elements() [2/2]

Vector<RefPtr<Object> >& API::Array::elements ( )
inline

◆ elementsOfType()

template<typename T >
ElementsOfTypeRange<T> API::Array::elementsOfType ( ) const
inline

◆ removeAllMatching()

template<typename MatchFunction >
unsigned API::Array::removeAllMatching ( const MatchFunction &  matchFunction)
inline

◆ removeAllOfTypeMatching()

template<typename T , typename MatchFunction >
unsigned API::Array::removeAllOfTypeMatching ( const MatchFunction &  matchFunction)
inline

◆ size()

size_t API::Array::size ( ) const
inline

◆ toStringVector()

Vector< WTF::String > API::Array::toStringVector ( )

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