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 75 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 81 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 93 of file doc.h.

◆ endColumn()

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

Definition at line 113 of file doc.h.

◆ endLine()

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

Definition at line 119 of file doc.h.

◆ setEndColumn()

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

Set end column.

Definition at line 137 of file doc.h.

◆ setEndLine()

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

Set end line.

Definition at line 143 of file doc.h.

◆ setStartColumn()

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

Set start column.

Definition at line 125 of file doc.h.

◆ setStartLine()

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

Set start line.

Definition at line 131 of file doc.h.

◆ startColumn()

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

Definition at line 101 of file doc.h.

◆ startLine()

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

Definition at line 107 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 Wed Nov 6 2024 12:12:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.