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

43 lines
989 B
C++

//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, SH Software Co. Ltd.
// = FileName : XBlockTableRecordZone.h
// = Version : ver2.0
// = Author :
// = CreateDate : 2002-09-09
// = Description: 模型空间的分区
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _XBlockTableRecordZone_H__
#define _XBlockTableRecordZone_H__
#if _MSC_VER > 1000
#pragma once
#endif
#include <map>
class XBlockTableRecordZone
{
public:
XBlockTableRecordZone();
virtual ~XBlockTableRecordZone();
bool getGeomExtents(const AcDbObjectId& id,AcDbExtents& ext);
bool setGeomExtents(const AcDbObjectId& id,AcDbExtents& ext);
void remove(const AcDbObjectId& id);
void setActive(bool bActive);
bool isActive();
protected:
int m_nActiveRefCount;
std::map<AcDbObjectId,AcDbExtents> m_mapIdToExt;
};
#endif //_XBlockTableRecordZone_H__