route.cpp
来自「GPS Manager is a GUI for downloading, or」· C++ 代码 · 共 33 行
CPP
33 行
#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 + =
减小字号Ctrl + -
显示快捷键?