55 lines
1.0 KiB
C++
55 lines
1.0 KiB
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TAcDbBlockTable Àà
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TAcDbBlockTable ÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TACDBBLOCKTABLE_H_
|
|
#define _TACDBBLOCKTABLE_H_
|
|
|
|
#ifndef _TSYMBOLTABLERECORD_H_
|
|
#include "TSymbolTableRecord.h"
|
|
#endif
|
|
|
|
#ifndef _TENTITYSET_H_
|
|
#include "TEntitySet.h"
|
|
#endif
|
|
|
|
#ifndef _TADSGEPOINT3D_H_
|
|
#include "TADSGePoint3d.h"
|
|
#endif
|
|
|
|
class GEOAPI TAcDbBlockTable : public TAcDbSymbolTable
|
|
{
|
|
public:
|
|
|
|
TAcDbBlockTable(const TCHAR *blkName);
|
|
|
|
~TAcDbBlockTable();
|
|
|
|
int GetExtend(ads_point lowPt, ads_point upPt, ads_matrix tranMat = NULL);
|
|
|
|
int operator !();
|
|
|
|
int EntNext();
|
|
|
|
public:
|
|
|
|
TEntitySet ent;
|
|
|
|
TADSGePoint3d base;
|
|
};
|
|
|
|
|
|
inline int TAcDbBlockTable::operator !()
|
|
{
|
|
return (TAcDbSymbolTable::operator !() || !ent);
|
|
}
|
|
|
|
#endif
|
|
|