📄 route.cpp
字号:
#include "route.h"namespace gpsmgr{ Route::Route() {} Route::Route(const std::string& name, const std::string& comment) : mName (name), mComment (comment) {} std::string Route::name() const { return mName; } std::string Route::comment() const { return mComment; } Route::Waypoints& Route::waypoints() { return mWaypoints; } const Route::Waypoints& Route::waypoints() const { return mWaypoints; } void Route::setName(const std::string& name) { mName = name; } void Route::setComment(const std::string& comment) { mComment = comment; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -