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

#include <SVGNumber.h>

Inheritance diagram for WebCore::SVGNumber:
WebCore::SVGPropertyTearOff< float > WebCore::SVGPropertyTearOffBase WebCore::SVGProperty WTF::RefCounted< SVGProperty > WTF::RefCounted< SVGProperty > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

float valueForBindings ()
 
ExceptionOr< voidsetValueForBindings (float value)
 
- Public Member Functions inherited from WebCore::SVGPropertyTearOff< float >
virtual PropertyTypepropertyReference ()
 
SVGAnimatedPropertyanimatedProperty () const
 
virtual void setValue (PropertyType &value)
 
void setAnimatedProperty (SVGAnimatedProperty *animatedProperty)
 
SVGElementcontextElement () const
 
void addChild (WeakPtr< SVGPropertyTearOffBase > child)
 
void detachWrapper () override
 
void commitChange () override
 
bool isReadOnly () const override
 
- Public Member Functions inherited from WebCore::SVGProperty
virtual ~SVGProperty ()
 
virtual ~SVGProperty ()
 
- Public Member Functions inherited from WTF::RefCounted< SVGProperty >
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 Ref< SVGNumbercreate (SVGAnimatedProperty &animatedProperty, SVGPropertyRole role, float &value)
 
static Ref< SVGNumbercreate (const float &initialValue={ })
 
static Ref< SVGNumbercreate (const float *initialValue)
 
template<typename T >
static ExceptionOr< Ref< SVGNumber > > create (ExceptionOr< T > &&initialValue)
 
- Static Public Member Functions inherited from WebCore::SVGPropertyTearOff< float >
static Ref< Selfcreate (SVGAnimatedProperty &animatedProperty, SVGPropertyRole role, PropertyType &value)
 
static Ref< Selfcreate (const PropertyType &initialValue)
 
static Ref< Selfcreate (const PropertyType *initialValue)
 
static ExceptionOr< Ref< Self > > create (ExceptionOr< U > &&initialValue)
 

Additional Inherited Members

- Public Types inherited from WebCore::SVGPropertyTearOff< float >
using PropertyType = float
 
using Self = SVGPropertyTearOff< PropertyType >
 
- Protected Member Functions inherited from WebCore::SVGPropertyTearOff< float >
 SVGPropertyTearOff (SVGAnimatedProperty *animatedProperty, SVGPropertyRole role, PropertyType &value)
 
 SVGPropertyTearOff (const PropertyType &initialValue)
 
 SVGPropertyTearOff (const PropertyType *initialValue)
 
virtual ~SVGPropertyTearOff ()
 
void detachChildren ()
 
- Protected Member Functions inherited from WTF::RefCounted< SVGProperty >
 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
 
- Protected Attributes inherited from WebCore::SVGPropertyTearOff< float >
RefPtr< SVGAnimatedPropertym_animatedProperty
 
SVGPropertyRole m_role
 
PropertyTypem_value
 
Vector< WeakPtr< SVGPropertyTearOffBase > > m_childTearOffs
 
bool m_valueIsCopy
 

Member Function Documentation

◆ create() [1/4]

static Ref<SVGNumber> WebCore::SVGNumber::create ( SVGAnimatedProperty animatedProperty,
SVGPropertyRole  role,
float &  value 
)
inlinestatic

◆ create() [2/4]

static Ref<SVGNumber> WebCore::SVGNumber::create ( const float &  initialValue = { })
inlinestatic

◆ create() [3/4]

static Ref<SVGNumber> WebCore::SVGNumber::create ( const float *  initialValue)
inlinestatic

◆ create() [4/4]

template<typename T >
static ExceptionOr<Ref<SVGNumber> > WebCore::SVGNumber::create ( ExceptionOr< T > &&  initialValue)
inlinestatic

◆ setValueForBindings()

ExceptionOr<void> WebCore::SVGNumber::setValueForBindings ( float  value)
inline

◆ valueForBindings()

float WebCore::SVGNumber::valueForBindings ( )
inline

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