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

#include <ElementData.h>

Inheritance diagram for WebCore::UniqueElementData:
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 Types

typedef Vector< Attribute, 4 > AttributeVector
 
typedef Vector< Attribute, 4 > AttributeVector
 

Public Member Functions

Ref< ShareableElementDatamakeShareableCopy () const
 
void addAttribute (const QualifiedName &, const AtomicString &)
 
void removeAttribute (unsigned index)
 
AttributeattributeAt (unsigned index)
 
AttributefindAttributeByName (const QualifiedName &)
 
 UniqueElementData ()
 
 UniqueElementData (const ShareableElementData &)
 
 UniqueElementData (const UniqueElementData &)
 
Ref< ShareableElementDatamakeShareableCopy () const
 
void addAttribute (const QualifiedName &, const AtomicString &)
 
void removeAttribute (unsigned index)
 
AttributeattributeAt (unsigned index)
 
AttributefindAttributeByName (const QualifiedName &)
 
 UniqueElementData ()
 
 UniqueElementData (const ShareableElementData &)
 
 UniqueElementData (const UniqueElementData &)
 
- 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< UniqueElementDatacreate ()
 
static ptrdiff_t attributeVectorMemoryOffset ()
 
static Ref< UniqueElementDatacreate ()
 
static ptrdiff_t attributeVectorMemoryOffset ()
 
- 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

RefPtr< StylePropertiesm_presentationAttributeStyle
 
AttributeVector m_attributeVector
 

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
 

Member Typedef Documentation

◆ AttributeVector [1/2]

◆ AttributeVector [2/2]

Constructor & Destructor Documentation

◆ UniqueElementData() [1/6]

WebCore::UniqueElementData::UniqueElementData ( )

◆ UniqueElementData() [2/6]

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

◆ UniqueElementData() [3/6]

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

◆ UniqueElementData() [4/6]

WebCore::UniqueElementData::UniqueElementData ( )

◆ UniqueElementData() [5/6]

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

◆ UniqueElementData() [6/6]

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

Member Function Documentation

◆ addAttribute() [1/2]

void WebCore::UniqueElementData::addAttribute ( const QualifiedName attributeName,
const AtomicString value 
)
inline

◆ addAttribute() [2/2]

void WebCore::UniqueElementData::addAttribute ( const QualifiedName ,
const AtomicString  
)

◆ attributeAt() [1/2]

Attribute & WebCore::UniqueElementData::attributeAt ( unsigned  index)
inline

◆ attributeAt() [2/2]

Attribute& WebCore::UniqueElementData::attributeAt ( unsigned  index)

◆ attributeVectorMemoryOffset() [1/2]

static ptrdiff_t WebCore::UniqueElementData::attributeVectorMemoryOffset ( )
inlinestatic

◆ attributeVectorMemoryOffset() [2/2]

static ptrdiff_t WebCore::UniqueElementData::attributeVectorMemoryOffset ( )
inlinestatic

◆ create() [1/2]

static Ref<UniqueElementData> WebCore::UniqueElementData::create ( )
static

◆ create() [2/2]

Ref< UniqueElementData > WebCore::UniqueElementData::create ( )
static

◆ findAttributeByName() [1/2]

Attribute* WebCore::UniqueElementData::findAttributeByName ( const QualifiedName )

◆ findAttributeByName() [2/2]

Attribute * WebCore::UniqueElementData::findAttributeByName ( const QualifiedName name)

◆ makeShareableCopy() [1/2]

Ref<ShareableElementData> WebCore::UniqueElementData::makeShareableCopy ( ) const

◆ makeShareableCopy() [2/2]

Ref< ShareableElementData > WebCore::UniqueElementData::makeShareableCopy ( ) const

◆ removeAttribute() [1/2]

void WebCore::UniqueElementData::removeAttribute ( unsigned  index)
inline

◆ removeAttribute() [2/2]

void WebCore::UniqueElementData::removeAttribute ( unsigned  index)

Member Data Documentation

◆ m_attributeVector

AttributeVector WebCore::UniqueElementData::m_attributeVector

◆ m_presentationAttributeStyle

RefPtr< StyleProperties > WebCore::UniqueElementData::m_presentationAttributeStyle
mutable

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