Files
envi-code/SourceCode/Code2026/inc/AdsXRx/XBlockTable.h
T
2026-09-28 15:28:50 +08:00

55 lines
973 B
C++

//-----------------------------------------------------------------------------+
// 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