⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qvroute.h

📁 Windows上的MUD客户端程序
💻 H
字号:
#ifndef  _QV_ROUTE_
#define  _QV_ROUTE_

#include <QvSubNode.h>
#include <QvSFFloat.h>
#include <QvMFFloat.h>
#include <QvSensor.h>
#include <QvString.h>
#include <QvSFString.h>

// not really a node but for now it'll do

class QvRoute : public QvNode {

		QV_NODE_HEADER(QvRoute);

	public:
		inline QvField *GetDestination() { return m_pDestination; };
		inline QvField *GetSource() { return m_pSource; };

		inline void SetDestination(QvField *pDestination);
		inline void SetSource(QvField *pSource);
		static QvBool 	readRoute(QvInput *in, QvNode *&node);
		static QvBool split(const QvString &name, QvString &nodeName, QvString &fieldName);
		static QvBool findConnection(QvInput *in, QvString &name, QvField *&fld, QvBool boolEventIn);
		static QvBool findConnection(QvNode *pNode, const QvString &eventname, QvField *&fld, QvBool boolEventIn);

	protected:
		QvField *m_pDestination;
		QvField *m_pSource;

	protected:
		QvSFString source;
		QvSFString destination;

};

#endif /* _QV_ROUTE_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -