Files
envi-code/SourceCode/Code2026/tg_shs/shs_kernal/TSectForceVal.cpp
T

43 lines
859 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2011, Beijing Tangent Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : TSectForceVal类
2026-09-28 15:28:50 +08:00
// = Version : ver1.0
// = Author : wjx
// = CreateDate : 2012-03-26
2026-10-04 00:04:20 +08:00
// = Description: 内力数据类实现
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//------------------------------------------------------------------------+
#include "StdAfx.h"
#include "TSectForceVal.h"
TSectForceVal::TSectForceVal()
{
}
TSectForceVal::~TSectForceVal()
{
}
TSectForceVal& TSectForceVal::operator = (const TSectForceVal& src)
{
if(this != &src)
{
m_nSectID = src.m_nSectID;
m_force = src.m_force;
}
return *this;
}
bool TSectForceVal::operator == (const TSectForceVal& src)
{
if(m_nSectID == src.m_nSectID && m_force == src.m_force)
{
return true;
}
return false;
}