\doxysection{BMKDriving\+Route\+Line类 参考}
\hypertarget{interface_b_m_k_driving_route_line}{}\label{interface_b_m_k_driving_route_line}\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}}


此类表示一条驾车路线  




{\ttfamily \#include $<$BMKRoute\+Search\+Type.\+h$>$}

类 BMKDriving\+Route\+Line 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{interface_b_m_k_driving_route_line}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(BOOL is\+Support\+Traffic) -\/ \mbox{\hyperlink{interface_b_m_k_driving_route_line_aea825cba80ccc3340e1cb786fbe07b1a}{\+\_\+\+\_\+deprecated\+\_\+msg}}
\begin{DoxyCompactList}\small\item\em 该路线所在区域是否含有交通流量信息，从2.7.\+0开始，废弃 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
NSArray$<$ \mbox{\hyperlink{interface_b_m_k_plan_node}{BMKPlan\+Node}} \texorpdfstring{$\ast$}{*} $>$ \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_driving_route_line_a0803b74adc3f8a32079d2ca10b9a7b9a}{way\+Points}}
\begin{DoxyCompactList}\small\item\em 路线途经点列表，成员类型为\+BMKPlan\+Node \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_driving_route_line_add3683722075ec45112579d495dfd9d3}{light\+Num}}
\begin{DoxyCompactList}\small\item\em 路线红绿灯个数 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_driving_route_line_af3c2278d3e8c321b7db9116a04449fdc}{congestion\+Metres}}
\begin{DoxyCompactList}\small\item\em 路线拥堵米数，发起请求时需设置参数 driving\+Request\+Traffic\+Type = BMK\+\_\+\+DRIVING\+\_\+\+REQUEST\+\_\+\+TRAFFICE\+\_\+\+TYPE\+\_\+\+PATH\+\_\+\+AND\+\_\+\+TRAFFICE 才有值 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_driving_route_line_ac5eb8eb15519351fba1f401ab95e480b}{taxi\+Fares}}
\begin{DoxyCompactList}\small\item\em 路线预估打车费(元)，负数表示无打车费信息 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_driving_route_line_a28994921923fa2d40e9121d25af4ede9}{toll}}
\begin{DoxyCompactList}\small\item\em since 5.\+2.\+0 此路线道路收费，单位：元(此高速费为预估价格，与实际高速收费并不完全一致) \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{interface_b_m_k_route_line}{BMKRoute\+Line}}}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{interface_b_m_k_route_line_a81457e28259f233d070a253369cb08cd}{distance}}
\begin{DoxyCompactList}\small\item\em 路线长度 单位： 米 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_time}{BMKTime}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_route_line_a726e651e7f2033fb389655408ea0a0ba}{duration}}
\begin{DoxyCompactList}\small\item\em 路线耗时 单位： 秒 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_route_node}{BMKRoute\+Node}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_route_line_ab4980e956c6a40fb31e99fed60f2f2e3}{starting}}
\begin{DoxyCompactList}\small\item\em 路线起点信息 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_route_node}{BMKRoute\+Node}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_route_line_ad2cecafa2bc1b126cf303600c35c0e8c}{terminal}}
\begin{DoxyCompactList}\small\item\em 路线终点信息 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_route_line_aca3a234fb1c2199107d956f48832434d}{arrive\+Time}}
\begin{DoxyCompactList}\small\item\em 到达时间 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_route_line_a5c635af3f19c1947e43bdd5ef8b89b2c}{total\+Points\+Count}}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_route_line_af9634cb2ab0fff868aa5a7ebb394a501}{title}}
\begin{DoxyCompactList}\small\item\em 路线名称(预留字段，现为空) \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_route_line_a70a5a53d0dfaed227cf854a7dedf8d41}{priv}}
\begin{DoxyCompactList}\small\item\em 当前leg前是否有室内路线，路线在indoor数组中的位置 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_route_line_a6a27e2874ba666791870440d2b359b87}{next}}
\begin{DoxyCompactList}\small\item\em 当前leg后是否有室内路线，路线在indoor数组中的位置 \end{DoxyCompactList}\item 
NSArray \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_route_line_a181c231815114b03dfc858ac26a0168a}{steps}}
\begin{DoxyCompactList}\small\item\em 路线中的所有路段，成员类型为\+BMKWalking\+Step，\+BMKDriving\+Step，\+BMKTransit\+Step，\+BMKRiding\+Step，\+BMKIndoor\+Route\+Step，\+BMKMass\+Transit\+Step \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
此类表示一条驾车路线 

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_driving_route_line_aea825cba80ccc3340e1cb786fbe07b1a}\label{interface_b_m_k_driving_route_line_aea825cba80ccc3340e1cb786fbe07b1a} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!\_\_deprecated\_msg@{\_\_deprecated\_msg}}
\index{\_\_deprecated\_msg@{\_\_deprecated\_msg}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{\_\_deprecated\_msg}{\_\_deprecated\_msg}}
{\footnotesize\ttfamily -\/ (BOOL is\+Support\+Traffic) \+\_\+\+\_\+deprecated\+\_\+msg \begin{DoxyParamCaption}\item[{("{}已废弃since 2.\+7.\+0"{})}]{ }\end{DoxyParamCaption}}



该路线所在区域是否含有交通流量信息，从2.7.\+0开始，废弃 



\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_driving_route_line_af3c2278d3e8c321b7db9116a04449fdc}\label{interface_b_m_k_driving_route_line_af3c2278d3e8c321b7db9116a04449fdc} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!congestionMetres@{congestionMetres}}
\index{congestionMetres@{congestionMetres}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{congestionMetres}{congestionMetres}}
{\footnotesize\ttfamily -\/ (NSInteger) congestion\+Metres\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路线拥堵米数，发起请求时需设置参数 driving\+Request\+Traffic\+Type = BMK\+\_\+\+DRIVING\+\_\+\+REQUEST\+\_\+\+TRAFFICE\+\_\+\+TYPE\+\_\+\+PATH\+\_\+\+AND\+\_\+\+TRAFFICE 才有值 

\Hypertarget{interface_b_m_k_driving_route_line_add3683722075ec45112579d495dfd9d3}\label{interface_b_m_k_driving_route_line_add3683722075ec45112579d495dfd9d3} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!lightNum@{lightNum}}
\index{lightNum@{lightNum}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{lightNum}{lightNum}}
{\footnotesize\ttfamily -\/ (NSInteger) light\+Num\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路线红绿灯个数 

\Hypertarget{interface_b_m_k_driving_route_line_ac5eb8eb15519351fba1f401ab95e480b}\label{interface_b_m_k_driving_route_line_ac5eb8eb15519351fba1f401ab95e480b} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!taxiFares@{taxiFares}}
\index{taxiFares@{taxiFares}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{taxiFares}{taxiFares}}
{\footnotesize\ttfamily -\/ (NSInteger) taxi\+Fares\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路线预估打车费(元)，负数表示无打车费信息 

\Hypertarget{interface_b_m_k_driving_route_line_a28994921923fa2d40e9121d25af4ede9}\label{interface_b_m_k_driving_route_line_a28994921923fa2d40e9121d25af4ede9} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!toll@{toll}}
\index{toll@{toll}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{toll}{toll}}
{\footnotesize\ttfamily -\/ (NSInteger) toll\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



since 5.\+2.\+0 此路线道路收费，单位：元(此高速费为预估价格，与实际高速收费并不完全一致) 

\Hypertarget{interface_b_m_k_driving_route_line_a0803b74adc3f8a32079d2ca10b9a7b9a}\label{interface_b_m_k_driving_route_line_a0803b74adc3f8a32079d2ca10b9a7b9a} 
\index{BMKDrivingRouteLine@{BMKDrivingRouteLine}!wayPoints@{wayPoints}}
\index{wayPoints@{wayPoints}!BMKDrivingRouteLine@{BMKDrivingRouteLine}}
\doxysubsubsection{\texorpdfstring{wayPoints}{wayPoints}}
{\footnotesize\ttfamily -\/ (NSArray$<$\mbox{\hyperlink{interface_b_m_k_plan_node}{BMKPlan\+Node}} \texorpdfstring{$\ast$}{*}$>$\texorpdfstring{$\ast$}{*}) way\+Points\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



路线途经点列表，成员类型为\+BMKPlan\+Node 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Search.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_route_search_type_8h}{BMKRoute\+Search\+Type.\+h}}\end{DoxyCompactItemize}
