MD::WithPosition

Search for usage in LXR

MD::WithPosition Class Reference

#include <doc.h>

Inheritance diagram for MD::WithPosition:

Public Member Functions

 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
 

Detailed Description

Base for any thing with start and end position.

Definition at line 76 of file doc.h.

Constructor & Destructor Documentation

◆ WithPosition() [1/2]

MD::WithPosition::WithPosition ( )
default

◆ ~WithPosition()

virtual MD::WithPosition::~WithPosition ( )
virtualdefault

◆ WithPosition() [2/2]

MD::WithPosition::WithPosition ( long long int startColumn,
long long int startLine,
long long int endColumn,
long long int endLine )
inline

Definition at line 82 of file doc.h.

Member Function Documentation

◆ applyPositions()

void MD::WithPosition::applyPositions ( const WithPosition & other)
inline

Apply positions to this from other.

Definition at line 94 of file doc.h.

◆ endColumn()

long long int MD::WithPosition::endColumn ( ) const
inline
Returns
End column.

Definition at line 114 of file doc.h.

◆ endLine()

long long int MD::WithPosition::endLine ( ) const
inline
Returns
End line.

Definition at line 120 of file doc.h.

◆ setEndColumn()

void MD::WithPosition::setEndColumn ( long long int c)
inline

Set end column.

Definition at line 138 of file doc.h.

◆ setEndLine()

void MD::WithPosition::setEndLine ( long long int l)
inline

Set end line.

Definition at line 144 of file doc.h.

◆ setStartColumn()

void MD::WithPosition::setStartColumn ( long long int c)
inline

Set start column.

Definition at line 126 of file doc.h.

◆ setStartLine()

void MD::WithPosition::setStartLine ( long long int l)
inline

Set start line.

Definition at line 132 of file doc.h.

◆ startColumn()

long long int MD::WithPosition::startColumn ( ) const
inline
Returns
Start column.

Definition at line 102 of file doc.h.

◆ startLine()

long long int MD::WithPosition::startLine ( ) const
inline
Returns
Start line.

Definition at line 108 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-2025 The KDE developers.
Generated on Fri Mar 28 2025 11:47:38 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.