📄 nodeproperty.h
字号:
#ifndef _NodeProperty_h
#define _NodeProperty_h
#define INV_NODE -1
#define STUB 0
#define TRANSIT 1
#include "Common.h"
class NodeProperty
{
private:
int mType; /* transit node or stub node; */
unsigned long mXCoord;
unsigned long mYCoord;
string mLable;
string mTraffic;
public:
NodeProperty();
void setType(int type);
int getType() const;
void setX(unsigned long x);
unsigned long getX() const;
void setY(unsigned long y);
unsigned long getY() const;
void setLable(string lable);
string getLable() const;
void setTraffic(string traffic);
string getTraffic() const;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -