CMake Nightly Date Stamp
[kiteware-cmake.git] / Source / cmDebuggerSourceBreakpoint.h
blobf6d6cace7c10f27493608ae9dee940d41550cfbd
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #pragma once
5 #include "cmConfigure.h" // IWYU pragma: keep
7 #include <cstdint>
9 namespace cmDebugger {
11 class cmDebuggerSourceBreakpoint
13 int64_t Id;
14 int64_t Line;
15 bool IsValid = true;
17 public:
18 cmDebuggerSourceBreakpoint(int64_t id, int64_t line);
19 int64_t GetId() const noexcept { return this->Id; }
20 int64_t GetLine() const noexcept { return this->Line; }
21 void ChangeLine(int64_t line) noexcept { this->Line = line; }
22 bool GetIsValid() const noexcept { return this->IsValid; }
23 void Invalid() noexcept { this->IsValid = false; }
26 } // namespace cmDebugger