18 :
targets_{std::make_pair(first_target, second_target)} {}
29 bool IsChanged(
const QJsonObject& trappy_line_obj)
const override;
32 targets_ = std::make_pair(first_target, second_target);
46 throw std::runtime_error(
"dev: no checkable error values in TrappyLines");
Объект, возможный к считыванию по .json файлу [абстрактный класс].
Definition base.h:15
Контрольная точка
Definition target.h:12
Линия опасного перелета
Definition trappy_line.h:13
void SetJsonInfo(const QJsonObject &) override
Definition trappy_line.h:28
TrappyLine & operator=(const TrappyLine &)=default
QJsonObject GetJsonInfo() const override
Definition trappy_line.cpp:9
TrappyLine(std::pair< Target *, Target * > targets)
Definition trappy_line.h:19
TrappyLine & operator=(TrappyLine &&)=default
std::pair< Target *, Target * > targets_
Definition trappy_line.h:50
bool operator==(const TrappyLine &) const
Definition trappy_line.cpp:34
void SetTargets(std::pair< Target *, Target * > targets)
Definition trappy_line.h:34
std::pair< Target, Target > GetTargets() const
Definition trappy_line.cpp:27
TrappyLine(TrappyLine &&)=default
void CheckErrorValues() const override
Definition trappy_line.h:45
void SetTargets(Target *first_target, Target *second_target)
Definition trappy_line.h:31
TrappyLine(Target *first_target, Target *second_target)
Definition trappy_line.h:17
TrappyLine(const TrappyLine &)=default
bool IsChanged(const QJsonObject &trappy_line_obj) const override
Definition trappy_line.cpp:19
const std::pair< Target *, Target * > & GetTargetsPtrs() const
Definition trappy_line.h:39
std::pair< Target *, Target * > & GetTargetsPtrs()
Definition trappy_line.h:38