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