| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // This file is part of INSTINCT, the INS Toolkit for Integrated | ||
| 2 | // Navigation Concepts and Training by the Institute of Navigation of | ||
| 3 | // the University of Stuttgart, Germany. | ||
| 4 | // | ||
| 5 | // This Source Code Form is subject to the terms of the Mozilla Public | ||
| 6 | // License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| 7 | // file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
| 8 | |||
| 9 | #include "GroupBox.hpp" | ||
| 10 | |||
| 11 | #include "util/Logger.hpp" | ||
| 12 | |||
| 13 | 118 | NAV::GroupBox::GroupBox() | |
| 14 |
2/4✓ Branch 1 taken 118 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 118 times.
✗ Branch 5 not taken.
|
118 | : Node(typeStatic()) |
| 15 | { | ||
| 16 | LOG_TRACE("called"); | ||
| 17 | |||
| 18 | 118 | kind = Node::Kind::GroupBox; | |
| 19 | 118 | _hasConfig = false; | |
| 20 | 118 | _size = ImVec2(400, 300); | |
| 21 | 118 | } | |
| 22 | |||
| 23 | 244 | NAV::GroupBox::~GroupBox() | |
| 24 | { | ||
| 25 | LOG_TRACE("called"); | ||
| 26 | 244 | } | |
| 27 | |||
| 28 | 232 | std::string NAV::GroupBox::typeStatic() | |
| 29 | { | ||
| 30 |
1/2✓ Branch 1 taken 232 times.
✗ Branch 2 not taken.
|
464 | return "GroupBox"; |
| 31 | } | ||
| 32 | |||
| 33 | ✗ | std::string NAV::GroupBox::type() const | |
| 34 | { | ||
| 35 | ✗ | return typeStatic(); | |
| 36 | } | ||
| 37 | |||
| 38 | 114 | std::string NAV::GroupBox::category() | |
| 39 | { | ||
| 40 |
1/2✓ Branch 1 taken 114 times.
✗ Branch 2 not taken.
|
228 | return "Utility"; |
| 41 | } | ||
| 42 | |||
| 43 | ✗ | [[nodiscard]] json NAV::GroupBox::save() const { return {}; } | |
| 44 | |||
| 45 | 4 | void NAV::GroupBox::restore(json const& /* j */) {} | |
| 46 |