webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::TimeRanges Class Reference

#include <TimeRanges.h>

Inheritance diagram for WebCore::TimeRanges:
WTF::RefCounted< TimeRanges > WTF::RefCounted< TimeRanges > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

WEBCORE_EXPORT ExceptionOr< double > start (unsigned index) const
 
WEBCORE_EXPORT ExceptionOr< double > end (unsigned index) const
 
WEBCORE_EXPORT Ref< TimeRangescopy () const
 
void invert ()
 
WEBCORE_EXPORT void intersectWith (const TimeRanges &)
 
void unionWith (const TimeRanges &)
 
WEBCORE_EXPORT unsigned length () const
 
WEBCORE_EXPORT void add (double start, double end)
 
bool contain (double time) const
 
size_t find (double time) const
 
WEBCORE_EXPORT double nearest (double time) const
 
double totalDuration () const
 
const PlatformTimeRangesranges () const
 
PlatformTimeRangesranges ()
 
WEBCORE_EXPORT ExceptionOr< double > start (unsigned index) const
 
WEBCORE_EXPORT ExceptionOr< double > end (unsigned index) const
 
WEBCORE_EXPORT Ref< TimeRangescopy () const
 
void invert ()
 
WEBCORE_EXPORT void intersectWith (const TimeRanges &)
 
void unionWith (const TimeRanges &)
 
WEBCORE_EXPORT unsigned length () const
 
WEBCORE_EXPORT void add (double start, double end)
 
bool contain (double time) const
 
size_t find (double time) const
 
WEBCORE_EXPORT double nearest (double time) const
 
double totalDuration () const
 
const PlatformTimeRangesranges () const
 
PlatformTimeRangesranges ()
 
- Public Member Functions inherited from WTF::RefCounted< TimeRanges >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static WEBCORE_EXPORT Ref< TimeRangescreate ()
 
static WEBCORE_EXPORT Ref< TimeRangescreate (double start, double end)
 
static Ref< TimeRangescreate (const PlatformTimeRanges &)
 
static WEBCORE_EXPORT Ref< TimeRangescreate ()
 
static WEBCORE_EXPORT Ref< TimeRangescreate (double start, double end)
 
static Ref< TimeRangescreate (const PlatformTimeRanges &)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< TimeRanges >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Function Documentation

◆ add() [1/2]

void TimeRanges::add ( double  start,
double  end 
)

◆ add() [2/2]

WEBCORE_EXPORT void WebCore::TimeRanges::add ( double  start,
double  end 
)

◆ contain() [1/2]

bool TimeRanges::contain ( double  time) const

◆ contain() [2/2]

bool WebCore::TimeRanges::contain ( double  time) const

◆ copy() [1/2]

Ref< TimeRanges > TimeRanges::copy ( ) const

◆ copy() [2/2]

WEBCORE_EXPORT Ref<TimeRanges> WebCore::TimeRanges::copy ( ) const

◆ create() [1/6]

static WEBCORE_EXPORT Ref<TimeRanges> WebCore::TimeRanges::create ( )
static

◆ create() [2/6]

Ref< TimeRanges > TimeRanges::create ( )
static

◆ create() [3/6]

static WEBCORE_EXPORT Ref<TimeRanges> WebCore::TimeRanges::create ( double  start,
double  end 
)
static

◆ create() [4/6]

Ref< TimeRanges > TimeRanges::create ( double  start,
double  end 
)
static

◆ create() [5/6]

static Ref<TimeRanges> WebCore::TimeRanges::create ( const PlatformTimeRanges )
static

◆ create() [6/6]

Ref< TimeRanges > TimeRanges::create ( const PlatformTimeRanges other)
static

◆ end() [1/2]

WEBCORE_EXPORT ExceptionOr<double> WebCore::TimeRanges::end ( unsigned  index) const

◆ end() [2/2]

ExceptionOr< double > TimeRanges::end ( unsigned  index) const

◆ find() [1/2]

size_t TimeRanges::find ( double  time) const

◆ find() [2/2]

size_t WebCore::TimeRanges::find ( double  time) const

◆ intersectWith() [1/2]

void TimeRanges::intersectWith ( const TimeRanges other)

◆ intersectWith() [2/2]

WEBCORE_EXPORT void WebCore::TimeRanges::intersectWith ( const TimeRanges )

◆ invert() [1/2]

void WebCore::TimeRanges::invert ( )

◆ invert() [2/2]

void TimeRanges::invert ( )

◆ length() [1/2]

unsigned TimeRanges::length ( void  ) const

◆ length() [2/2]

WEBCORE_EXPORT unsigned WebCore::TimeRanges::length ( ) const

◆ nearest() [1/2]

double TimeRanges::nearest ( double  time) const

◆ nearest() [2/2]

WEBCORE_EXPORT double WebCore::TimeRanges::nearest ( double  time) const

◆ ranges() [1/4]

const PlatformTimeRanges& WebCore::TimeRanges::ranges ( ) const
inline

◆ ranges() [2/4]

const PlatformTimeRanges& WebCore::TimeRanges::ranges ( ) const
inline

◆ ranges() [3/4]

PlatformTimeRanges& WebCore::TimeRanges::ranges ( )
inline

◆ ranges() [4/4]

PlatformTimeRanges& WebCore::TimeRanges::ranges ( )
inline

◆ start() [1/2]

ExceptionOr< double > TimeRanges::start ( unsigned  index) const

◆ start() [2/2]

WEBCORE_EXPORT ExceptionOr<double> WebCore::TimeRanges::start ( unsigned  index) const

◆ totalDuration() [1/2]

double TimeRanges::totalDuration ( ) const

◆ totalDuration() [2/2]

double WebCore::TimeRanges::totalDuration ( ) const

◆ unionWith() [1/2]

void TimeRanges::unionWith ( const TimeRanges other)

◆ unionWith() [2/2]

void WebCore::TimeRanges::unionWith ( const TimeRanges )

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