43 lines
935 B
C++
43 lines
935 B
C++
//-----------------------------------------------------------------------------+
|
|||
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
||
|
|
// = FileName : TAcDbEntityPtr.h
|
||
|
|
// = Version : ver2.0
|
||
|
|
// = Author : xlc
|
||
|
|
// = CreateDate : 2002-09-09
|
||
|
|
// = Description: 类的声明 AcDbEntity的SHELL,用于链表存储
|
||
|
|
// = Maintainers:
|
||
|
|
//
|
||
|
|
//-----------------------------------------------------------------------------+
|
||
|
|
#ifndef _TACDBENTITYPTR_H_
|
||
|
|
#define _TACDBENTITYPTR_H_
|
||
|
|
|
||
|
|
|
||
|
|
class GEOAPI TAcDbEntityPtr : public CObject
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
|
||
|
|
TAcDbEntityPtr();
|
||
|
|
TAcDbEntityPtr(AcDbEntity* pAcDbEnt);
|
||
|
|
~TAcDbEntityPtr();
|
||
|
|
public:
|
||
|
|
|
||
|
|
AcDbEntity* m_pAcDbEnt;
|
||
|
|
};
|
||
|
|
|
||
|
|
inline TAcDbEntityPtr::TAcDbEntityPtr()
|
||
|
|
{
|
||
|
|
m_pAcDbEnt = NULL;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline TAcDbEntityPtr::TAcDbEntityPtr(AcDbEntity* pAcDbEnt)
|
||
|
|
{
|
||
|
|
m_pAcDbEnt = pAcDbEnt;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline TAcDbEntityPtr::~TAcDbEntityPtr()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
typedef CTypedPtrList<CObList, TAcDbEntityPtr*> CEntityList;
|
||
|
|
#endif
|