Doxygen
|
Node representing an included text block from file. More...
#include <src/docnode.h>
Public Types | |
enum | Type { Include , DontInclude , VerbInclude , HtmlInclude , LatexInclude , IncWithLines , Snippet , SnippetWithLines , DontIncWithLines , RtfInclude , ManInclude , DocbookInclude , XmlInclude } |
Public Member Functions | |
DocInclude (DocParser *parser, DocNodeVariant *parent, const QCString &file, const QCString &context, Type t, bool stripCodeComments, bool isExample, const QCString &exampleFile, const QCString &blockId, bool isBlock, bool trimLeft) | |
QCString | file () const |
QCString | extension () const |
Type | type () const |
QCString | text () const |
QCString | context () const |
QCString | blockId () const |
bool | stripCodeComments () const |
bool | isExample () const |
QCString | exampleFile () const |
bool | isBlock () const |
bool | trimLeft () const |
void | parse () |
Public Member Functions inherited from DocNode | |
DocNode (DocParser *parser, DocNodeVariant *parent) | |
~DocNode ()=default | |
DocNodeVariant * | parent () |
const DocNodeVariant * | parent () const |
DocNodeVariant * | thisVariant () |
const DocNodeVariant * | thisVariant () const |
void | setThisVariant (DocNodeVariant *thisVariant) |
DocParser * | parser () |
const DocParser * | parser () const |
void | setParent (DocNodeVariant *parent) |
bool | isPreformatted () const |
Private Attributes | |
QCString | m_file |
QCString | m_context |
QCString | m_text |
Type | m_type |
bool | m_stripCodeComments |
bool | m_isExample |
bool | m_isBlock |
bool | m_trimLeft |
QCString | m_exampleFile |
QCString | m_blockId |
Additional Inherited Members | |
Protected Types inherited from DocNode | |
enum | RefType { Unknown , Anchor , Section , Table } |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
enum DocInclude::Type |
|
inline |
Definition at line 436 of file docnode.h.
References blockId(), context(), DocNode::DocNode(), exampleFile(), file(), isBlock(), isExample(), m_blockId, m_context, m_exampleFile, m_file, m_isBlock, m_isExample, m_stripCodeComments, m_trimLeft, m_type, DocNode::parent(), DocNode::parser(), stripCodeComments(), and trimLeft().
|
inline |
Definition at line 449 of file docnode.h.
References m_blockId.
Referenced by DocInclude(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 448 of file docnode.h.
References m_context.
Referenced by DocInclude(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), and parse().
|
inline |
Definition at line 452 of file docnode.h.
References m_exampleFile.
Referenced by DocInclude(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 445 of file docnode.h.
References m_file.
Referenced by DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 444 of file docnode.h.
References m_file.
Referenced by DocInclude(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 453 of file docnode.h.
References m_isBlock.
Referenced by DocInclude(), HtmlDocVisitor::operator()(), PrintDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 451 of file docnode.h.
References m_isExample.
Referenced by DocInclude(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
void DocInclude::parse | ( | ) |
Definition at line 267 of file docnode.cpp.
References AUTO_TRACE, context(), DocParser::context, DocbookInclude, DontInclude, DontIncWithLines, HtmlInclude, Include, DocParserContext::includeFileLength, DocParserContext::includeFileLine, DocParserContext::includeFileName, DocParserContext::includeFileOffset, DocParserContext::includeFileShowLineNo, DocParserContext::includeFileText, IncWithLines, LatexInclude, m_blockId, m_file, m_stripCodeComments, m_text, m_type, ManInclude, DocNode::parser(), qPrint(), DocParser::readTextFileByName(), RtfInclude, Snippet, SnippetWithLines, DocParserContext::stripCodeComments, Trace::trunc(), VerbInclude, warn_doc_error, and XmlInclude.
|
inline |
Definition at line 450 of file docnode.h.
References m_stripCodeComments.
Referenced by DocInclude(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 447 of file docnode.h.
References m_text.
Referenced by DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), PerlModDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 454 of file docnode.h.
References m_trimLeft.
Referenced by DocInclude(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 446 of file docnode.h.
References m_type.
Referenced by isDocIncludeVisible(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
private |
Definition at line 467 of file docnode.h.
Referenced by blockId(), DocInclude(), and parse().
|
private |
Definition at line 459 of file docnode.h.
Referenced by context(), and DocInclude().
|
private |
Definition at line 466 of file docnode.h.
Referenced by DocInclude(), and exampleFile().
|
private |
Definition at line 458 of file docnode.h.
Referenced by DocInclude(), extension(), file(), and parse().
|
private |
Definition at line 464 of file docnode.h.
Referenced by DocInclude(), and isBlock().
|
private |
Definition at line 463 of file docnode.h.
Referenced by DocInclude(), and isExample().
|
private |
Definition at line 462 of file docnode.h.
Referenced by DocInclude(), parse(), and stripCodeComments().
|
private |
|
private |
Definition at line 465 of file docnode.h.
Referenced by DocInclude(), and trimLeft().
|
private |
Definition at line 461 of file docnode.h.
Referenced by DocInclude(), parse(), and type().