?? nodedata.cpp
字號:
// NodeData.cpp: implementation of the CNodeData class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "faketolcan.h"
#include "NodeData.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CNodeData::CNodeData()
{
m_strNodeType = _T("");
m_iBase = 0;
m_iBound = 0;
m_iMinValue = 0;
m_iMaxValue = 0;
m_iFirstValue = 0;
m_iStep = 0;
m_iCurrentValue = 0;
m_iCurrentStep = 0;
}
CNodeData::~CNodeData()
{
}
IMPLEMENT_SERIAL(CNodeData, CObject, 1)
void CNodeData::Serialize(CArchive &ar)
{
if (ar.IsStoring())
{
ar << m_strNodeType;
ar << m_iBase;
ar << m_iBound;
ar << m_iMinValue;
ar << m_iMaxValue;
ar << m_iFirstValue;
ar << m_iStep;
ar << m_iCurrentValue;
ar << m_iCurrentStep;
}
else
{
ar >> m_strNodeType;
ar >> m_iBase;
ar >> m_iBound;
ar >> m_iMinValue;
ar >> m_iMaxValue;
ar >> m_iFirstValue;
ar >> m_iStep;
ar >> m_iCurrentValue;
ar >> m_iCurrentStep;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -