MD::Anchor

Search for usage in LXR

MD::Anchor< Trait > Class Template Referencefinal

#include <doc.h>

Inheritance diagram for MD::Anchor< Trait >:

Public Member Functions

 Anchor (const typename Trait::String &l)
 
 ~Anchor () override=default
 
std::shared_ptr< Item< Trait > > clone (Document< Trait > *doc=nullptr) const override
 
const Trait::String & label () const
 
ItemType type () const override
 
- 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::Item< Trait >
 Item ()=default
 

Detailed Description

template<class Trait>
class MD::Anchor< Trait >

Just an anchor.

Definition at line 396 of file doc.h.

Constructor & Destructor Documentation

◆ Anchor()

template<class Trait >
MD::Anchor< Trait >::Anchor ( const typename Trait::String & l)
inlineexplicit

Definition at line 399 of file doc.h.

◆ ~Anchor()

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

Member Function Documentation

◆ clone()

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

Clone this anchor.

Implements MD::Item< Trait >.

Definition at line 407 of file doc.h.

◆ label()

template<class Trait >
const Trait::String & MD::Anchor< Trait >::label ( ) const
inline
Returns
Label of this anchor.

Definition at line 421 of file doc.h.

◆ type()

template<class Trait >
ItemType MD::Anchor< Trait >::type ( ) const
inlineoverridevirtual
Returns
item type.

Implements MD::Item< Trait >.

Definition at line 415 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 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.