2025-06-23 10:41:33 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
#include "DAO.h"
|
|
|
|
|
|
|
|
|
|
namespace DBPlatformSpace
|
|
|
|
|
{
|
2025-06-23 18:01:09 +08:00
|
|
|
|
/// 2D多边形边界数据
|
2025-06-23 10:41:33 +08:00
|
|
|
|
class D2_PolygonBoundaryDAO : public subDBDAO
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-06-23 18:01:09 +08:00
|
|
|
|
int _geomID; ///<多边形边界ID(2D程序自动生成)
|
|
|
|
|
int _index; ///<序号(在父数据中顺序)
|
|
|
|
|
int _parentGeomID; ///<父数据ID
|
|
|
|
|
int _secctionID; ///<剖面ID
|
|
|
|
|
int _type; ///<类型: 0 外边界;1 内边界
|
2025-06-23 10:41:33 +08:00
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
};
|
|
|
|
|
}
|