text: /*
   *  BMKPoiSearchType.h
   *  BMapKit
   *
   *  Copyright 2011 Baidu Inc. All rights reserved.
   *
   */
  
  #import <CoreLocation/CoreLocation.h>
  #import <Foundation/Foundation.h>
  
  ///城市列表信息类
  @interface BMKCityListInfo : NSObject
  {
  	NSString* _city;
  	int		  _num;
  }
  ///城市名称
  @property (nonatomic, retain) NSString* city;
  ///该城市所含搜索结果数目
  @property (nonatomic) int num;
  
  @end
  
  
  ///POI信息类
  @interface BMKPoiInfo : NSObject
  {
  	NSString* _name;			///<POI名称
      NSString* _uid;
  	NSString* _address;		///<POI地址
  	NSString* _city;			///<POI所在城市
  	NSString* _phone;		///<POI电话号码
  	NSString* _postcode;		///<POI邮编
  	int		  _epoitype;		///<POI类型，0:普通点 1:公交站 2:公交线路 3:地铁站 4:地铁线路
  	
  	CLLocationCoordinate2D _pt;	///<POI坐标
  }
  ///POI名称
  @property (nonatomic, retain) NSString* name;
  ///POIuid
  @property (nonatomic, retain) NSString* uid;
  ///POI地址
  @property (nonatomic, retain) NSString* address;
  ///POI所在城市
  @property (nonatomic, retain) NSString* city;
  ///POI电话号码
  @property (nonatomic, retain) NSString* phone;
  ///POI邮编
  @property (nonatomic, retain) NSString* postcode;
  ///POI类型，0:普通点 1:公交站 2:公交线路 3:地铁站 4:地铁线路
  @property (nonatomic) int epoitype;
  ///POI坐标
  @property (nonatomic) CLLocationCoordinate2D pt;
  @end
  
  
  
  ///POI搜索结果类
  @interface BMKPoiResult : NSObject
  {
  	int _totalPoiNum;		///<本次POI搜索的总结果数
  	int _currPoiNum;			///<当前页的POI结果数
  	int _pageNum;			///<本次POI搜索的总页数
  	int _pageIndex;			///<当前页的索引
  	
  	NSArray* _poiInfoList;	///<POI列表，成员是BMKPoiInfo
  	NSArray* _cityList;		///<城市列表，成员是BMKCityListInfo
  }
  ///本次POI搜索的总结果数
  @property (nonatomic) int totalPoiNum;
  ///当前页的POI结果数
  @property (nonatomic) int currPoiNum;
  ///本次POI搜索的总页数
  @property (nonatomic) int pageNum;
  ///当前页的索引
  @property (nonatomic) int pageIndex;
  ///POI列表，成员是BMKPoiInfo
  @property (nonatomic, retain) NSArray* poiInfoList;
  ///城市列表，成员是BMKCityListInfo
  @property (nonatomic, retain) NSArray* cityList;		
  
  @end
  
  
  ///Suggestion结果类
  @interface BMKSuggestionResult : NSObject 
  {
      NSArray* _keyList;
      NSArray* _cityList;
      NSArray* _districtList;
  }
  
  @property (nonatomic, retain) NSArray* keyList; ///key列表，成员是NSString
  @property (nonatomic, retain) NSArray* cityList; ///city列表，成员是NSString
  @property (nonatomic, retain) NSArray* districtList; ///district列表，成员是NSString
  @end
  
  