Files
envi-code/SourceCode/Code2026/inc/AdsXRx/XBlockTable.h
T

54 lines
979 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//-----------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, SH Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : XBlockTable 类
2026-09-28 15:28:50 +08:00
// = Version : ver2.0
// = Author : zjq
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: XBlockTable 声明
2026-09-28 15:28:50 +08:00
// = 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