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

#include <ElementData.h>

Inheritance diagram for WebCore::ShareableElementData:
WebCore::ElementData WebCore::ElementData WTF::RefCounted< ElementData > WTF::RefCounted< ElementData > WTF::RefCounted< ElementData > WTF::RefCounted< ElementData > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

 ShareableElementData (const Vector< Attribute > &)
 
 ShareableElementData (const UniqueElementData &)
 
 ~ShareableElementData ()
 
 ShareableElementData (const Vector< Attribute > &)
 
 ShareableElementData (const UniqueElementData &)
 
 ~ShareableElementData ()
 
- Public Member Functions inherited from WebCore::ElementData
void deref ()
 
void setClassNames (const SpaceSplitString &classNames) const
 
const SpaceSplitStringclassNames () const
 
const AtomicStringidForStyleResolution () const
 
void setIdForStyleResolution (const AtomicString &newId) const
 
const StylePropertiesinlineStyle () const
 
const StylePropertiespresentationAttributeStyle () const
 
unsigned length () const
 
bool isEmpty () const
 
AttributeIteratorAccessor attributesIterator () const
 
const AttributeattributeAt (unsigned index) const
 
const AttributefindAttributeByName (const QualifiedName &) const
 
unsigned findAttributeIndexByName (const QualifiedName &) const
 
unsigned findAttributeIndexByName (const AtomicString &name, bool shouldIgnoreAttributeCase) const
 
const AttributefindLanguageAttribute () const
 
bool hasID () const
 
bool hasClass () const
 
bool hasName () const
 
bool isEquivalent (const ElementData *other) const
 
bool isUnique () const
 
void deref ()
 
void setClassNames (const SpaceSplitString &classNames) const
 
const SpaceSplitStringclassNames () const
 
const AtomicStringidForStyleResolution () const
 
void setIdForStyleResolution (const AtomicString &newId) const
 
const StylePropertiesinlineStyle () const
 
const StylePropertiespresentationAttributeStyle () const
 
unsigned length () const
 
bool isEmpty () const
 
AttributeIteratorAccessor attributesIterator () const
 
const AttributeattributeAt (unsigned index) const
 
const AttributefindAttributeByName (const QualifiedName &) const
 
unsigned findAttributeIndexByName (const QualifiedName &) const
 
unsigned findAttributeIndexByName (const AtomicString &name, bool shouldIgnoreAttributeCase) const
 
const AttributefindLanguageAttribute () const
 
bool hasID () const
 
bool hasClass () const
 
bool hasName () const
 
bool isEquivalent (const ElementData *other) const
 
bool isUnique () const
 
- Public Member Functions inherited from WTF::RefCounted< ElementData >
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< ShareableElementDatacreateWithAttributes (const Vector< Attribute > &)
 
static ptrdiff_t attributeArrayMemoryOffset ()
 
static Ref< ShareableElementDatacreateWithAttributes (const Vector< Attribute > &)
 
static ptrdiff_t attributeArrayMemoryOffset ()
 
- Static Public Member Functions inherited from WebCore::ElementData
static ptrdiff_t classNamesMemoryOffset ()
 
static ptrdiff_t idForStyleResolutionMemoryOffset ()
 
static uint32_t isUniqueFlag ()
 
static ptrdiff_t arraySizeAndFlagsMemoryOffset ()
 
static uint32_t styleAttributeIsDirtyFlag ()
 
static uint32_t animatedSVGAttributesAreDirtyFlag ()
 
static uint32_t arraySizeOffset ()
 
static ptrdiff_t classNamesMemoryOffset ()
 
static ptrdiff_t idForStyleResolutionMemoryOffset ()
 
static uint32_t isUniqueFlag ()
 
static ptrdiff_t arraySizeAndFlagsMemoryOffset ()
 
static uint32_t styleAttributeIsDirtyFlag ()
 
static uint32_t animatedSVGAttributesAreDirtyFlag ()
 
static uint32_t arraySizeOffset ()
 

Public Attributes

Attribute m_attributeArray [0]
 

Additional Inherited Members

- Static Public Attributes inherited from WebCore::ElementData
static const unsigned attributeNotFound = static_cast<unsigned>(-1)
 
- Protected Member Functions inherited from WebCore::ElementData
 ElementData ()
 
 ElementData (unsigned arraySize)
 
 ElementData (const ElementData &, bool isUnique)
 
unsigned arraySize () const
 
void setHasNameAttribute (bool hasName) const
 
bool styleAttributeIsDirty () const
 
void setStyleAttributeIsDirty (bool isDirty) const
 
bool presentationAttributeStyleIsDirty () const
 
void setPresentationAttributeStyleIsDirty (bool isDirty) const
 
bool animatedSVGAttributesAreDirty () const
 
void setAnimatedSVGAttributesAreDirty (bool dirty) const
 
 ElementData ()
 
 ElementData (unsigned arraySize)
 
 ElementData (const ElementData &, bool isUnique)
 
unsigned arraySize () const
 
void setHasNameAttribute (bool hasName) const
 
bool styleAttributeIsDirty () const
 
void setStyleAttributeIsDirty (bool isDirty) const
 
bool presentationAttributeStyleIsDirty () const
 
void setPresentationAttributeStyleIsDirty (bool isDirty) const
 
bool animatedSVGAttributesAreDirty () const
 
void setAnimatedSVGAttributesAreDirty (bool dirty) const
 
- Protected Member Functions inherited from WTF::RefCounted< ElementData >
 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::ElementData
RefPtr< StylePropertiesm_inlineStyle
 
SpaceSplitString m_classNames
 
AtomicString m_idForStyleResolution
 

Constructor & Destructor Documentation

◆ ShareableElementData() [1/4]

WebCore::ShareableElementData::ShareableElementData ( const Vector< Attribute > &  attributes)
explicit

◆ ShareableElementData() [2/4]

WebCore::ShareableElementData::ShareableElementData ( const UniqueElementData other)
explicit

◆ ~ShareableElementData() [1/2]

WebCore::ShareableElementData::~ShareableElementData ( )

◆ ShareableElementData() [3/4]

WebCore::ShareableElementData::ShareableElementData ( const Vector< Attribute > &  )
explicit

◆ ShareableElementData() [4/4]

WebCore::ShareableElementData::ShareableElementData ( const UniqueElementData )
explicit

◆ ~ShareableElementData() [2/2]

WebCore::ShareableElementData::~ShareableElementData ( )

Member Function Documentation

◆ attributeArrayMemoryOffset() [1/2]

static ptrdiff_t WebCore::ShareableElementData::attributeArrayMemoryOffset ( )
inlinestatic

◆ attributeArrayMemoryOffset() [2/2]

static ptrdiff_t WebCore::ShareableElementData::attributeArrayMemoryOffset ( )
inlinestatic

◆ createWithAttributes() [1/2]

static Ref<ShareableElementData> WebCore::ShareableElementData::createWithAttributes ( const Vector< Attribute > &  )
static

◆ createWithAttributes() [2/2]

Ref< ShareableElementData > WebCore::ShareableElementData::createWithAttributes ( const Vector< Attribute > &  attributes)
static

Member Data Documentation

◆ m_attributeArray

Attribute WebCore::ShareableElementData::m_attributeArray

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