MD::Blockquote

Search for usage in LXR

MD::Blockquote< Trait > Class Template Referencefinal

#include <doc.h>

Inheritance diagram for MD::Blockquote< Trait >:

Public Types

using Delims = typename Trait::template Vector<WithPosition>
 
- Public Types inherited from MD::Block< Trait >
using Items = typename Trait::template Vector<ItemSharedPointer>
 
using ItemSharedPointer = std::shared_ptr<Item<Trait>>
 

Public Member Functions

 Blockquote ()=default
 
 ~Blockquote () override=default
 
std::shared_ptr< Item< Trait > > clone (Document< Trait > *doc=nullptr) const override
 
Delimsdelims ()
 
const Delimsdelims () const
 
ItemType type () const override
 
- Public Member Functions inherited from MD::Block< Trait >
 ~Block () override=default
 
void appendItem (ItemSharedPointer i)
 
void applyBlock (const Block< Trait > &other, Document< Trait > *doc=nullptr)
 
ItemSharedPointer getItemAt (long long int idx) const
 
void insertItem (long long int idx, ItemSharedPointer i)
 
bool isEmpty () const
 
const Itemsitems () const
 
void removeItemAt (long long int idx)
 
- 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

- Protected Member Functions inherited from MD::Block< Trait >
 Block ()=default
 
- Protected Member Functions inherited from MD::Item< Trait >
 Item ()=default
 

Detailed Description

template<class Trait>
class MD::Blockquote< Trait >

Blockquote.

Definition at line 835 of file doc.h.

Member Typedef Documentation

◆ Delims

template<class Trait >
using MD::Blockquote< Trait >::Delims = typename Trait::template Vector<WithPosition>

Type of a list of service characters.

Definition at line 858 of file doc.h.

Constructor & Destructor Documentation

◆ Blockquote()

template<class Trait >
MD::Blockquote< Trait >::Blockquote ( )
default

◆ ~Blockquote()

template<class Trait >
MD::Blockquote< Trait >::~Blockquote ( )
overridedefault

Member Function Documentation

◆ clone()

template<class Trait >
std::shared_ptr< Item< Trait > > MD::Blockquote< Trait >::clone ( Document< Trait > * doc = nullptr) const
inlineoverridevirtual

Clone this blockquote.

Implements MD::Item< Trait >.

Definition at line 842 of file doc.h.

◆ delims() [1/2]

template<class Trait >
Delims & MD::Blockquote< Trait >::delims ( )
inline
Returns
List of service characters.

Definition at line 867 of file doc.h.

◆ delims() [2/2]

template<class Trait >
const Delims & MD::Blockquote< Trait >::delims ( ) const
inline
Returns
List of service characters.

Definition at line 861 of file doc.h.

◆ type()

template<class Trait >
ItemType MD::Blockquote< Trait >::type ( ) const
inlineoverridevirtual
Returns
Type of the item.

Implements MD::Item< Trait >.

Definition at line 852 of file doc.h.


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 Sat Dec 21 2024 17:04:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.