KompareDiff2::Marker Class

class KompareDiff2::Marker

A Marker. More...

Header: #include <KompareDiff2/Marker>
CMake: find_package(KompareDiff2 REQUIRED)
target_link_libraries(mytarget PRIVATE KompareDiff2::KompareDiff2)

Public Types

enum Type { Start, End }

Public Functions

Marker()
Marker(KompareDiff2::Marker::Type type, unsigned int offset)
~Marker()
unsigned int offset() const
void setOffset(unsigned int offset)
void setType(KompareDiff2::Marker::Type type)
KompareDiff2::Marker::Type type() const
bool operator==(const KompareDiff2::Marker &rhs) const

Detailed Description

Member Type Documentation

enum Marker::Type

ConstantValue
KompareDiff2::Marker::Start0
KompareDiff2::Marker::End1

Member Function Documentation

Marker::Marker()

Marker::Marker(KompareDiff2::Marker::Type type, unsigned int offset)

[constexpr noexcept] Marker::~Marker()

unsigned int Marker::offset() const

See also setOffset().

void Marker::setOffset(unsigned int offset)

See also offset().

void Marker::setType(KompareDiff2::Marker::Type type)

See also type().

KompareDiff2::Marker::Type Marker::type() const

See also setType().

bool Marker::operator==(const KompareDiff2::Marker &rhs) const