\doxysection{BMKRoute\+Line类 参考}
\hypertarget{interface_b_m_k_route_line}{}\label{interface_b_m_k_route_line}\index{BMKRouteLine@{BMKRouteLine}}


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

类 BMKRoute\+Line 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.403509cm]{interface_b_m_k_route_line}
\end{center}
\end{figure}
\doxysubsubsection*{属性}
\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_route_line_aca3a234fb1c2199107d956f48832434d}\label{interface_b_m_k_route_line_aca3a234fb1c2199107d956f48832434d} 
\index{BMKRouteLine@{BMKRouteLine}!arriveTime@{arriveTime}}
\index{arriveTime@{arriveTime}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{arriveTime}{arriveTime}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) arrive\+Time\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



到达时间 

\Hypertarget{interface_b_m_k_route_line_a81457e28259f233d070a253369cb08cd}\label{interface_b_m_k_route_line_a81457e28259f233d070a253369cb08cd} 
\index{BMKRouteLine@{BMKRouteLine}!distance@{distance}}
\index{distance@{distance}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{distance}{distance}}
{\footnotesize\ttfamily -\/ (int) distance\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路线长度 单位： 米 

\Hypertarget{interface_b_m_k_route_line_a726e651e7f2033fb389655408ea0a0ba}\label{interface_b_m_k_route_line_a726e651e7f2033fb389655408ea0a0ba} 
\index{BMKRouteLine@{BMKRouteLine}!duration@{duration}}
\index{duration@{duration}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{duration}{duration}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_time}{BMKTime}}\texorpdfstring{$\ast$}{*}) duration\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路线耗时 单位： 秒 

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



当前leg后是否有室内路线，路线在indoor数组中的位置 

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



当前leg前是否有室内路线，路线在indoor数组中的位置 

\Hypertarget{interface_b_m_k_route_line_ab4980e956c6a40fb31e99fed60f2f2e3}\label{interface_b_m_k_route_line_ab4980e956c6a40fb31e99fed60f2f2e3} 
\index{BMKRouteLine@{BMKRouteLine}!starting@{starting}}
\index{starting@{starting}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{starting}{starting}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_route_node}{BMKRoute\+Node}}\texorpdfstring{$\ast$}{*}) starting\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路线起点信息 

\Hypertarget{interface_b_m_k_route_line_a181c231815114b03dfc858ac26a0168a}\label{interface_b_m_k_route_line_a181c231815114b03dfc858ac26a0168a} 
\index{BMKRouteLine@{BMKRouteLine}!steps@{steps}}
\index{steps@{steps}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{steps}{steps}}
{\footnotesize\ttfamily -\/ (NSArray\texorpdfstring{$\ast$}{*}) steps\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



路线中的所有路段，成员类型为\+BMKWalking\+Step，\+BMKDriving\+Step，\+BMKTransit\+Step，\+BMKRiding\+Step，\+BMKIndoor\+Route\+Step，\+BMKMass\+Transit\+Step 

\Hypertarget{interface_b_m_k_route_line_ad2cecafa2bc1b126cf303600c35c0e8c}\label{interface_b_m_k_route_line_ad2cecafa2bc1b126cf303600c35c0e8c} 
\index{BMKRouteLine@{BMKRouteLine}!terminal@{terminal}}
\index{terminal@{terminal}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{terminal}{terminal}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_route_node}{BMKRoute\+Node}}\texorpdfstring{$\ast$}{*}) terminal\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路线终点信息 

\Hypertarget{interface_b_m_k_route_line_af9634cb2ab0fff868aa5a7ebb394a501}\label{interface_b_m_k_route_line_af9634cb2ab0fff868aa5a7ebb394a501} 
\index{BMKRouteLine@{BMKRouteLine}!title@{title}}
\index{title@{title}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{title}{title}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) title\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



路线名称(预留字段，现为空) 

\Hypertarget{interface_b_m_k_route_line_a5c635af3f19c1947e43bdd5ef8b89b2c}\label{interface_b_m_k_route_line_a5c635af3f19c1947e43bdd5ef8b89b2c} 
\index{BMKRouteLine@{BMKRouteLine}!totalPointsCount@{totalPointsCount}}
\index{totalPointsCount@{totalPointsCount}!BMKRouteLine@{BMKRouteLine}}
\doxysubsubsection{\texorpdfstring{totalPointsCount}{totalPointsCount}}
{\footnotesize\ttfamily -\/ (NSInteger) total\+Points\+Count\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

路线所有点个数 注意：在使用跨城公交路线规划时，每条线路的子路段可能会有多种方案，此字段无效。 

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