MD::Code
MD::Code< Trait > Class Template Reference
#include <doc.h>
Inheritance diagram for MD::Code< Trait >:
Public Member Functions | |
Code (const typename Trait::String &t, bool fensedCode, bool inl) | |
~Code () override=default | |
void | applyCode (const Code< Trait > &other) |
std::shared_ptr< Item< Trait > > | clone (Document< Trait > *doc=nullptr) const override |
const WithPosition & | endDelim () const |
bool | isFensedCode () const |
bool | isInline () const |
void | setEndDelim (const WithPosition &d) |
void | setFensedCode (bool on=true) |
void | setInline (bool on=true) |
void | setStartDelim (const WithPosition &d) |
void | setSyntax (const typename Trait::String &s) |
void | setSyntaxPos (const WithPosition &p) |
void | setText (const typename Trait::String &t) |
const WithPosition & | startDelim () const |
const Trait::String & | syntax () const |
const WithPosition & | syntaxPos () const |
const Trait::String & | text () const |
ItemType | type () const override |
Public Member Functions inherited from MD::ItemWithOpts< Trait > | |
~ItemWithOpts () override=default | |
void | applyItemWithOpts (const ItemWithOpts< Trait > &other) |
Styles & | closeStyles () |
const Styles & | closeStyles () const |
Styles & | openStyles () |
const Styles & | openStyles () const |
int | opts () const |
void | setOpts (int o) |
Public Member Functions inherited from MD::Item< Trait > | |
~Item () override=default | |
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 |
Additional Inherited Members | |
Public Types inherited from MD::ItemWithOpts< Trait > | |
using | Styles = typename Trait::template Vector<StyleDelim> |
Protected Member Functions inherited from MD::ItemWithOpts< Trait > | |
ItemWithOpts ()=default | |
Protected Member Functions inherited from MD::Item< Trait > | |
Item ()=default | |
Detailed Description
Constructor & Destructor Documentation
◆ Code()
template<class Trait >
|
inlineexplicit |
◆ ~Code()
Member Function Documentation
◆ applyCode()
◆ clone()
template<class Trait >
|
inlineoverridevirtual |
◆ endDelim()
template<class Trait >
|
inline |
◆ isFensedCode()
template<class Trait >
|
inline |
◆ isInline()
template<class Trait >
|
inline |
◆ setEndDelim()
template<class Trait >
|
inline |
◆ setFensedCode()
template<class Trait >
|
inline |
◆ setInline()
template<class Trait >
|
inline |
◆ setStartDelim()
template<class Trait >
|
inline |
◆ setSyntax()
template<class Trait >
|
inline |
◆ setSyntaxPos()
template<class Trait >
|
inline |
◆ setText()
template<class Trait >
|
inline |
◆ startDelim()
template<class Trait >
|
inline |
◆ syntax()
template<class Trait >
|
inline |
◆ syntaxPos()
template<class Trait >
|
inline |
◆ text()
template<class Trait >
|
inline |
◆ type()
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
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
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.