The DocIncOperator
Class Reference
Node representing a include/dontinclude operator block. More...
Declaration
Included Headers
Base class
class | DocNode |
Abstract node interface with type information. More... | |
Enumerations Index
enum | Type { ... } |
Public Constructors Index
DocIncOperator (DocParser *parser, DocNodeVariant *parent, Type t, const QCString &pat, const QCString &context, bool stripCodeComments, bool isExample, const QCString &exampleFile) | |
Public Member Functions Index
Type | type () const |
const char * | typeAsString () const |
int | line () const |
bool | showLineNo () const |
QCString | text () const |
QCString | pattern () const |
QCString | context () const |
bool | isFirst () const |
bool | isLast () const |
void | markFirst (bool v=TRUE) |
void | markLast (bool v=TRUE) |
bool | stripCodeComments () const |
bool | isExample () const |
QCString | exampleFile () const |
QCString | includeFileName () const |
void | parse () |
Private Member Attributes Index
Type | m_type = Line |
int | m_line = 0 |
bool | m_showLineNo = false |
QCString | m_text |
QCString | m_pattern |
QCString | m_context |
bool | m_isFirst = false |
bool | m_isLast = false |
bool | m_stripCodeComments = true |
bool | m_isExample = false |
QCString | m_exampleFile |
QCString | m_includeFileName |
Description
Node representing a include/dontinclude operator block.
Definition at line 476 of file docnode.h.
Public Constructors
DocIncOperator()
| inline |
Definition at line 480 of file docnode.h.
References context, DocNode::DocNode, exampleFile, FALSE, isExample, m_context, m_exampleFile, m_isExample, m_isFirst, m_isLast, m_pattern, m_stripCodeComments, m_type, DocNode::parent, DocNode::parser and stripCodeComments.
Public Member Functions
context()
| inline |
Definition at line 501 of file docnode.h.
Reference m_context.
Referenced by DocIncOperator, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator(), XmlDocVisitor::operator() and parse.
exampleFile()
| inline |
Definition at line 508 of file docnode.h.
Reference m_exampleFile.
Referenced by DocIncOperator, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
includeFileName()
| inline |
Definition at line 509 of file docnode.h.
Reference m_includeFileName.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
isExample()
| inline |
Definition at line 507 of file docnode.h.
Reference m_isExample.
Referenced by DocIncOperator, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
isFirst()
| inline |
Definition at line 502 of file docnode.h.
Reference m_isFirst.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
isLast()
| inline |
Definition at line 503 of file docnode.h.
Reference m_isLast.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
line()
| inline |
Definition at line 497 of file docnode.h.
Reference m_line.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
markFirst()
| inline |
markLast()
| inline |
parse()
|
Declaration at line 510 of file docnode.h, definition at line 319 of file docnode.cpp.
References AUTO_TRACE, AUTO_TRACE_ADD, context, DocParser::context, QCString::data, FALSE, DocParserContext::includeFileLength, DocParserContext::includeFileLine, DocParserContext::includeFileName, DocParserContext::includeFileOffset, DocParserContext::includeFileShowLineNo, DocParserContext::includeFileText, Line, m_includeFileName, m_line, m_pattern, m_showLineNo, m_stripCodeComments, m_text, QCString::mid, DocNode::parser, Skip, SkipLine, DocParserContext::stripCodeComments, TRUE, Trace::trunc, type, typeAsString, Until and warn_doc_error.
pattern()
| inline |
showLineNo()
| inline |
Definition at line 498 of file docnode.h.
Reference m_showLineNo.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
stripCodeComments()
| inline |
Definition at line 506 of file docnode.h.
Reference m_stripCodeComments.
Referenced by DocIncOperator, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
text()
| inline |
Definition at line 499 of file docnode.h.
Reference m_text.
Referenced by DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), RTFDocVisitor::operator() and XmlDocVisitor::operator().
type()
| inline |
Definition at line 485 of file docnode.h.
Reference m_type.
Referenced by isDocIncOperatorVisible, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), LatexDocVisitor::operator(), ManDocVisitor::operator(), PrintDocVisitor::operator(), RTFDocVisitor::operator(), XmlDocVisitor::operator() and parse.
typeAsString()
| inline |
Definition at line 486 of file docnode.h.
References Line, m_type, Skip, SkipLine and Until.
Referenced by parse.
Private Member Attributes
m_context
|
m_exampleFile
|
Definition at line 523 of file docnode.h.
Referenced by DocIncOperator and exampleFile.
m_includeFileName
|
Definition at line 524 of file docnode.h.
Referenced by includeFileName and parse.
m_isExample
|
Definition at line 522 of file docnode.h.
Referenced by DocIncOperator and isExample.
m_isFirst
|
m_isLast
|
m_line
|
m_pattern
|
m_showLineNo
|
Definition at line 515 of file docnode.h.
Referenced by parse and showLineNo.
m_stripCodeComments
|
Definition at line 521 of file docnode.h.
Referenced by DocIncOperator, parse and stripCodeComments.
m_text
|
m_type
|
Definition at line 513 of file docnode.h.
Referenced by DocIncOperator, type and typeAsString.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.