Files
envi-code/SourceCode/Code2026/tg_shs/inc/TArch/TArchPerBlockData.h
T
2026-09-28 15:28:50 +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