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

31 lines
660 B
C++

#ifndef _TDBIMPBASE_H__
#define _TDBIMPBASE_H__
#if _MSC_VER > 1000
#pragma once
#endif
class TDbImpBase
{
public:
TDbImpBase();
virtual ~TDbImpBase();
protected:
// 接口描述对象
virtual BOOL GetInterface(int nIndex,TInterface& pipeInterface) const;
virtual BOOL GetInterface(const AcGePoint3d& ptCon,TInterface& pipeInterface) const;
virtual int GetInterfaceCount() const;
protected:
BOOL UpdateInterfaceRec(const AcDbObjectId& idOwner,const AcGeMatrix3d& xform,AcGePoint3d* ppOld = NULL);
BOOL UpdateInterfaceRec(const AcDbObjectId& idOwner,const AcGePoint3d ptGeOld,const AcGePoint3d& ptGeNew);
};
#endif //_TDBIMPBASE_H__