35 lines
947 B
C++
35 lines
947 B
C++
#pragma once
|
||
#include "DAO.h"
|
||
|
||
namespace DBPlatformSpace
|
||
{
|
||
/// 2D多边形边界数据
|
||
class D2_PolygonBoundaryDAO : public subDBDAO
|
||
{
|
||
public:
|
||
int _geomID; ///<多边形边界ID(2D程序自动生成)
|
||
int _index; ///<序号(在父数据中顺序)
|
||
int _parentGeomID; ///<父数据ID
|
||
int _secctionID; ///<剖面ID
|
||
int _type; ///<类型: 0 外边界;1 内边界
|
||
|
||
ODI D2_PolygonBoundaryDAO();
|
||
ODI ~D2_PolygonBoundaryDAO();
|
||
|
||
|
||
ODI virtual Mapper* createMapper();
|
||
ODI static DAO* createObject();
|
||
|
||
|
||
static ODI ResultMsg FindAll(list<D2_PolygonBoundaryDAO*> & pnewlist);
|
||
|
||
static ODI ResultMsg FindByID(int id, D2_PolygonBoundaryDAO * &pnewdao);
|
||
|
||
static ResultMsg ODI FindByGeomID(int geomID, list<D2_PolygonBoundaryDAO*>&newlist);
|
||
|
||
static ResultMsg ODI FindByParentGeomID(int parentGeomID, list<D2_PolygonBoundaryDAO*>&newlist);
|
||
|
||
static ResultMsg ODI FindBySecctionID(int secctionID, list<D2_PolygonBoundaryDAO*>&newlist);
|
||
};
|
||
}
|