MD::Item
#include <doc.h>
Public Member Functions | |
~Item () override=default | |
virtual std::shared_ptr< Item< Trait > > | clone (Document< Trait > *doc=nullptr) const =0 |
virtual ItemType | type () const =0 |
Public Member Functions inherited from MD::WithPosition | |
WithPosition ()=default | |
WithPosition (long long int startColumn, long long int startLine, long long int endColumn, long long int endLine) | |
virtual | ~WithPosition ()=default |
void | applyPositions (const WithPosition &other) |
long long int | endColumn () const |
long long int | endLine () const |
void | setEndColumn (long long int c) |
void | setEndLine (long long int l) |
void | setStartColumn (long long int c) |
void | setStartLine (long long int l) |
long long int | startColumn () const |
long long int | startLine () const |
Protected Member Functions | |
Item ()=default | |
Detailed Description
class MD::Item< Trait >
Base class for item in Markdown document.
Constructor & Destructor Documentation
◆ Item()
◆ ~Item()
Member Function Documentation
◆ clone()
|
pure virtual |
Clone this item.
Implemented in MD::Anchor< Trait >, MD::Blockquote< Trait >, MD::Code< Trait >, MD::Document< Trait >, MD::Footnote< Trait >, MD::FootnoteRef< Trait >, MD::Heading< Trait >, MD::HorizontalLine< Trait >, MD::Image< Trait >, MD::LineBreak< Trait >, MD::Link< Trait >, MD::List< Trait >, MD::ListItem< Trait >, MD::Math< Trait >, MD::PageBreak< Trait >, MD::Paragraph< Trait >, MD::RawHtml< Trait >, MD::Table< Trait >, MD::TableCell< Trait >, MD::TableRow< Trait >, and MD::Text< Trait >.
◆ type()
- Returns
- Type of the item.
Implemented in MD::Anchor< Trait >, MD::Blockquote< Trait >, MD::Code< Trait >, MD::Document< Trait >, MD::Footnote< Trait >, MD::FootnoteRef< Trait >, MD::Heading< Trait >, MD::HorizontalLine< Trait >, MD::Image< Trait >, MD::LineBreak< Trait >, MD::Link< Trait >, MD::List< Trait >, MD::ListItem< Trait >, MD::Math< Trait >, MD::PageBreak< Trait >, MD::Paragraph< Trait >, MD::RawHtml< Trait >, MD::Table< Trait >, MD::TableCell< Trait >, MD::TableRow< Trait >, and MD::Text< Trait >.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.