//-----------------------------------------------------------------------------+ // Copyright (C), 1998-2007, SH Software Co. Ltd. // = FileName : XBlockTable 类 // = Version : ver2.0 // = Author : zjq // = CreateDate : 2002-09-09 // = Description: XBlockTable 声明 // = Maintainers: // //-----------------------------------------------------------------------------+ #ifndef _XBlockTable_H_ #define _XBlockTable_H_ #ifndef _SYMBOLTABLE_H_ #include "SymbolTable.h" #endif #ifndef _ENTITY_H_ #include "Entity.h" #endif #ifndef _XPOINT_H_ #include "XPoint.h" #endif class GEOAPI XBlockTable : public XSymbolTable { public: XBlockTable(const TCHAR *blkName); ~XBlockTable(); int GetExtend(ads_point lowPt, ads_point upPt, ads_matrix tranMat = NULL); int operator !(); int EntNext(); public: Entity ent; XPoint base; }; inline int XBlockTable::operator !() { return (XSymbolTable::operator !() || !ent); } #endif