webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Protected Member Functions | List of all members
WebCore::ContentData Class Referenceabstract

#include <ContentData.h>

Inheritance diagram for WebCore::ContentData:
WebCore::CounterContentData WebCore::CounterContentData WebCore::ImageContentData WebCore::ImageContentData WebCore::QuoteContentData WebCore::QuoteContentData WebCore::TextContentData WebCore::TextContentData

Public Types

enum  Type {
  CounterDataType, ImageDataType, QuoteDataType, TextDataType,
  CounterDataType, ImageDataType, QuoteDataType, TextDataType
}
 
enum  Type {
  CounterDataType, ImageDataType, QuoteDataType, TextDataType,
  CounterDataType, ImageDataType, QuoteDataType, TextDataType
}
 

Public Member Functions

virtual ~ContentData ()
 
Type type () const
 
bool isCounter () const
 
bool isImage () const
 
bool isQuote () const
 
bool isText () const
 
virtual RenderPtr< RenderObjectcreateContentRenderer (Document &, const RenderStyle &) const =0
 
std::unique_ptr< ContentDataclone () const
 
ContentDatanext () const
 
void setNext (std::unique_ptr< ContentData > next)
 
void setAltText (const String &alt)
 
const StringaltText () const
 
virtual ~ContentData ()
 
Type type () const
 
bool isCounter () const
 
bool isImage () const
 
bool isQuote () const
 
bool isText () const
 
virtual RenderPtr< RenderObjectcreateContentRenderer (Document &, const RenderStyle &) const =0
 
std::unique_ptr< ContentDataclone () const
 
ContentDatanext () const
 
void setNext (std::unique_ptr< ContentData > next)
 
void setAltText (const String &alt)
 
const StringaltText () const
 

Protected Member Functions

 ContentData (Type type)
 
 ContentData (Type type)
 

Member Enumeration Documentation

◆ Type [1/2]

Enumerator
CounterDataType 
ImageDataType 
QuoteDataType 
TextDataType 
CounterDataType 
ImageDataType 
QuoteDataType 
TextDataType 

◆ Type [2/2]

Enumerator
CounterDataType 
ImageDataType 
QuoteDataType 
TextDataType 
CounterDataType 
ImageDataType 
QuoteDataType 
TextDataType 

Constructor & Destructor Documentation

◆ ~ContentData() [1/2]

virtual WebCore::ContentData::~ContentData ( )
inlinevirtual

◆ ContentData() [1/2]

WebCore::ContentData::ContentData ( Type  type)
inlineexplicitprotected

◆ ~ContentData() [2/2]

virtual WebCore::ContentData::~ContentData ( )
inlinevirtual

◆ ContentData() [2/2]

WebCore::ContentData::ContentData ( Type  type)
inlineexplicitprotected

Member Function Documentation

◆ altText() [1/2]

const String& WebCore::ContentData::altText ( ) const
inline

◆ altText() [2/2]

const String& WebCore::ContentData::altText ( ) const
inline

◆ clone() [1/2]

std::unique_ptr<ContentData> WebCore::ContentData::clone ( ) const

◆ clone() [2/2]

std::unique_ptr< ContentData > WebCore::ContentData::clone ( ) const

◆ createContentRenderer() [1/2]

virtual RenderPtr<RenderObject> WebCore::ContentData::createContentRenderer ( Document ,
const RenderStyle  
) const
pure virtual

◆ createContentRenderer() [2/2]

virtual RenderPtr<RenderObject> WebCore::ContentData::createContentRenderer ( Document ,
const RenderStyle  
) const
pure virtual

◆ isCounter() [1/2]

bool WebCore::ContentData::isCounter ( ) const
inline

◆ isCounter() [2/2]

bool WebCore::ContentData::isCounter ( ) const
inline

◆ isImage() [1/2]

bool WebCore::ContentData::isImage ( ) const
inline

◆ isImage() [2/2]

bool WebCore::ContentData::isImage ( ) const
inline

◆ isQuote() [1/2]

bool WebCore::ContentData::isQuote ( ) const
inline

◆ isQuote() [2/2]

bool WebCore::ContentData::isQuote ( ) const
inline

◆ isText() [1/2]

bool WebCore::ContentData::isText ( ) const
inline

◆ isText() [2/2]

bool WebCore::ContentData::isText ( ) const
inline

◆ next() [1/2]

ContentData* WebCore::ContentData::next ( ) const
inline

◆ next() [2/2]

ContentData* WebCore::ContentData::next ( void  ) const
inline

◆ setAltText() [1/2]

void WebCore::ContentData::setAltText ( const String alt)
inline

◆ setAltText() [2/2]

void WebCore::ContentData::setAltText ( const String alt)
inline

◆ setNext() [1/2]

void WebCore::ContentData::setNext ( std::unique_ptr< ContentData next)
inline

◆ setNext() [2/2]

void WebCore::ContentData::setNext ( std::unique_ptr< ContentData next)
inline

◆ type() [1/2]

Type WebCore::ContentData::type ( ) const
inline

◆ type() [2/2]

Type WebCore::ContentData::type ( ) const
inline

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