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

64 lines
1.5 KiB
C++

//-------------------------------------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TArchPerBlockData 类
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
// = Description: TArchPerBlockData 声明
// = Maintainers:
//
//-------------------------------------------------------------------------------------------------------+
#ifndef _TARCHPERBLOCKDATA_H_
#define _TARCHPERBLOCKDATA_H_
#ifndef _TPDLIST_H_
#include "TPDList.h"
#endif
#ifndef _TCOLUMNDATA_H_
#include "TColumnData.h"
#endif
#ifndef _TADSGEPOINTLIST_H_
#include "TADSGePointList.h"
#endif
#ifndef _TPICKENTSET_H_
#include "TPickEntSet.h"
#endif
#ifndef _TDPTRLIST_H_
#include "TDPtrList.h"
#endif
class TDbWall;
class TDbColumn;
class TARCH_EXP TArchPerBlockData
{
public:
TArchPerBlockData(AcDbObjectId idBlock);
void Initialize();
AcDbObjectId GetBlockId() const;
long GetUpdateScale() const;
void AddWallCorners(const TDbWall *pWall);
void AddChangedColumn(const TDbColumn *pColumn);
void Reset();
void UpdateCorners(LPVOID pReserve = NULL);
void UpdateExtend();
bool operator==(const TArchPerBlockData&d) const;
bool operator!=(const TArchPerBlockData&d) const;
bool operator >(const TArchPerBlockData&d) const;
bool operator <(const TArchPerBlockData&d) const;
protected:
TADSGePointList m_lstCornersToBeUpdated;
TDPtrList<TColumnData> m_lstColumnsChanged;
AcDbObjectId m_idBlock;
};
#endif