Files
envi-code/SourceCode/Code2026/tg_shs/shs_kernal/TSectForceVal.cpp
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

44 lines
859 B
C++

//------------------------------------------------------------------------+
// Copyright (C), 1998-2011, Beijing Tangent Software Co. Ltd.
// = FileName : TSectForceVal类
// = Version : ver1.0
// = Author : wjx
// = CreateDate : 2012-03-26
// = Description: 内力数据类实现
// = 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;
}