My Project
|
#include <docparser.h>
Public Member Functions | |
DocImage (DocNode *parent, const HtmlAttribList &attribs, const QCString &name, Type t, const QCString &url=QCString()) | |
Kind | kind () const |
Type | type () const |
QCString | name () const |
bool | hasCaption () const |
QCString | width () const |
QCString | height () const |
QCString | relPath () const |
QCString | url () const |
const HtmlAttribList & | attribs () const |
void | accept (DocVisitor *v) |
void | parse () |
Public Member Functions inherited from CompAccept< DocImage > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocImage *obj, DocVisitor *v) |
const QList< DocNode > & | children () const |
QList< DocNode > & | children () |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Private Attributes | |
HtmlAttribList | m_attribs |
QCString | m_name |
Type | m_type |
QCString | m_width |
QCString | m_height |
QCString | m_relPath |
QCString | m_url |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from CompAccept< DocImage > | |
QList< DocNode > | m_children |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing an image
Definition at line 687 of file docparser.h.
enum DocImage::Type |
DocImage::DocImage | ( | DocNode * | parent, |
const HtmlAttribList & | attribs, | ||
const QCString & | name, | ||
Type | t, | ||
const QCString & | url = QCString() |
||
) |
Definition at line 2933 of file docparser.cpp.
References DocNode::m_parent, and DocNode::parent().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 702 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 701 of file docparser.h.
References m_attribs.
Referenced by HtmlDocVisitor::visitPre().
|
inline |
Definition at line 696 of file docparser.h.
References CompAccept< DocImage >::m_children.
Referenced by RTFDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), LatexDocVisitor::visitPost(), RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), and LatexDocVisitor::visitPre().
|
inline |
Definition at line 698 of file docparser.h.
References m_height.
Referenced by HtmlDocVisitor::visitPre(), XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 693 of file docparser.h.
References DocNode::Kind_Image.
|
inline |
Definition at line 695 of file docparser.h.
References m_name.
Referenced by DocbookDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), XmlDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
void DocImage::parse | ( | ) |
Definition at line 2942 of file docparser.cpp.
References CMD_IMAGE, defaultHandleTitleAndSize(), CompAccept< DocImage >::m_children, m_height, and m_width.
Referenced by DocPara::handleImage().
|
inline |
Definition at line 699 of file docparser.h.
References m_relPath.
Referenced by HtmlDocVisitor::visitPre().
|
inline |
Definition at line 694 of file docparser.h.
References m_type.
Referenced by DocbookDocVisitor::visitPost(), RTFDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), LatexDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), XmlDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
inline |
Definition at line 700 of file docparser.h.
References m_url.
Referenced by HtmlDocVisitor::visitPre().
|
inline |
Definition at line 697 of file docparser.h.
References m_width.
Referenced by HtmlDocVisitor::visitPre(), XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
private |
Definition at line 706 of file docparser.h.
Referenced by attribs().
|
private |
Definition at line 710 of file docparser.h.
|
private |
Definition at line 707 of file docparser.h.
Referenced by name().
|
private |
Definition at line 711 of file docparser.h.
Referenced by relPath().
|
private |
Definition at line 708 of file docparser.h.
Referenced by type().
|
private |
Definition at line 712 of file docparser.h.
Referenced by url().
|
private |
Definition at line 709 of file docparser.h.