\doxysection{Bds\+::Location Class Reference}
\hypertarget{classBds_1_1Location}{}\label{classBds_1_1Location}\index{Bds::Location@{Bds::Location}}


This class defines the physical location of a \doxylink{classBds_1_1Station}{Station}.  




{\ttfamily \#include $<$Bds\+D.\+h$>$}

Inheritance diagram for Bds\+::Location\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classBds_1_1Location}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classBds_1_1Location_afbedefa64e907bae65d5e0e2ff84004b}{Location}} (\textbf{ BUInt32} \mbox{\hyperlink{classBds_1_1Location_a593c7527eb02324d40228de984bdabc7}{id}}=0, \textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1Location_a1a79a65d96299b1fb977f0d4d8efb46b}{start\+Time}}=\textbf{ BTime\+Stamp}(), \textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1Location_a045418d4a61a9161cb1281489981c138}{end\+Time}}=\textbf{ BTime\+Stamp}(), \textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_a1f88c72ff3286f5c81d4b05e7b995c43}{network}}=\textbf{ BString}(), \textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_a85082ed9da23a2bcbc714e2d5dc94b84}{station}}=\textbf{ BString}(), \textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_ab7bb84d9f98ba4a8a4468b9107425036}{channel}}=\textbf{ BString}(), \textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_ac9e97238b10056017ee84088832a2937}{datum}}=\textbf{ BString}(), \textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a91c89610682b113097a77baf56c99759}{longitude}}=0, \textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_aa8996a1292e9c5ede35cb9835458c1a3}{latitude}}=0, \textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a2f61edece89644493f9ab2c8563a22b9}{elevation}}=0, \textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a9ed113842798076dccd82a4502570791}{array\+Offset\+East}}=0, \textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a6779328b3a59dfe001ef91e6023126ef}{array\+Offset\+North}}=0)
\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{classBds_1_1Location_a104fffa9bf99d0db411ae701aa95573b}{get\+Type}} () const
\item 
\textbf{ BError} \mbox{\hyperlink{classBds_1_1Location_a5dc623512af919b15a361a5af6e7b614}{set\+Members}} (\textbf{ BDict\+String} \&members)
\item 
\textbf{ BError} \mbox{\hyperlink{classBds_1_1Location_a364f9cf54599fcd23a8167ae4f95516c}{set\+Member}} (\textbf{ BString} name, \textbf{ BString} value)
\item 
\textbf{ BError} \mbox{\hyperlink{classBds_1_1Location_ad0f7faf92185e449765209c456cebe73}{get\+Members}} (\textbf{ BDict\+String} \&members)
\item 
\textbf{ BError} \mbox{\hyperlink{classBds_1_1Location_a296ea84140b01d5b88e1fcd5d26317d5}{get\+Member}} (\textbf{ BString} name, \textbf{ BString} \&value)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \textbf{ BObj}}
\begin{DoxyCompactItemize}
\item 
\textbf{ BObj} ()
\item 
virtual \textbf{ \texorpdfstring{$\sim$}{\string~}\+BObj} ()
\item 
virtual const char \texorpdfstring{$\ast$}{*} \textbf{ get\+Type} () const
\item 
virtual const \textbf{ BObj\+Member} \texorpdfstring{$\ast$}{*} \textbf{ get\+Members} () const
\item 
virtual \textbf{ BError} \textbf{ get\+Members} (\textbf{ BDict\+String} \&members)
\item 
virtual \textbf{ BError} \textbf{ get\+Member} (\textbf{ BString} name, \textbf{ BString} \&value)
\item 
virtual \textbf{ BError} \textbf{ set\+Members} (\textbf{ BDict\+String} \&members)
\item 
virtual \textbf{ BError} \textbf{ set\+Member} (\textbf{ BString} name, \textbf{ BString} value)
\item 
virtual void \textbf{ members\+Print} () const
\item 
virtual \textbf{ BString} \textbf{ get\+Debug\+String} ()
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\textbf{ BUInt32} \mbox{\hyperlink{classBds_1_1Location_a593c7527eb02324d40228de984bdabc7}{id}}
\begin{DoxyCompactList}\small\item\em The ID. \end{DoxyCompactList}\item 
\textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1Location_a1a79a65d96299b1fb977f0d4d8efb46b}{start\+Time}}
\begin{DoxyCompactList}\small\item\em The Start Time. \end{DoxyCompactList}\item 
\textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1Location_a045418d4a61a9161cb1281489981c138}{end\+Time}}
\begin{DoxyCompactList}\small\item\em The End Time the channel was available. \end{DoxyCompactList}\item 
\textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_a1f88c72ff3286f5c81d4b05e7b995c43}{network}}
\begin{DoxyCompactList}\small\item\em The Network/\+Organisation Name. \end{DoxyCompactList}\item 
\textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_a85082ed9da23a2bcbc714e2d5dc94b84}{station}}
\begin{DoxyCompactList}\small\item\em The station this location is for. \end{DoxyCompactList}\item 
\textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_ab7bb84d9f98ba4a8a4468b9107425036}{channel}}
\begin{DoxyCompactList}\small\item\em The channel this location is for. If blank the location is for the \doxylink{classBds_1_1Station}{Station} itself. \end{DoxyCompactList}\item 
\textbf{ BString} \mbox{\hyperlink{classBds_1_1Location_ac9e97238b10056017ee84088832a2937}{datum}}
\begin{DoxyCompactList}\small\item\em The locations Datum. \end{DoxyCompactList}\item 
\textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a91c89610682b113097a77baf56c99759}{longitude}}
\begin{DoxyCompactList}\small\item\em The longitude in degrees using the WGS84 datum. \end{DoxyCompactList}\item 
\textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_aa8996a1292e9c5ede35cb9835458c1a3}{latitude}}
\begin{DoxyCompactList}\small\item\em The Latitude in degrees using the WGS84 datum. \end{DoxyCompactList}\item 
\textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a2f61edece89644493f9ab2c8563a22b9}{elevation}}
\begin{DoxyCompactList}\small\item\em The ground level elevation in meters from the WGS84 ellipsoid (Sea level) \end{DoxyCompactList}\item 
\textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a9ed113842798076dccd82a4502570791}{array\+Offset\+East}}
\begin{DoxyCompactList}\small\item\em The read=only Array offset in an array in an easterly direction if array known/given. \doxylink{classBds_1_1Note}{Note} returns the Array\textquotesingle{}s \doxylink{classBds_1_1ArrayChannel}{Array\+Channel} offset information. \end{DoxyCompactList}\item 
\textbf{ BFloat64} \mbox{\hyperlink{classBds_1_1Location_a6779328b3a59dfe001ef91e6023126ef}{array\+Offset\+North}}
\begin{DoxyCompactList}\small\item\em The read=only Array offset in an array in a northerly direction if array known/given. \doxylink{classBds_1_1Note}{Note} returns the Array\textquotesingle{}s \doxylink{classBds_1_1ArrayChannel}{Array\+Channel} offset information. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This class defines the physical location of a \doxylink{classBds_1_1Station}{Station}. 

This defines the physical location of the station using WGS84 longitude and latitude parameters. It also defines the stations elevation. If it is part of an array the array\+Offset\+East and array\+Offset\+North will be filled in from the Array\textquotesingle{}s \doxylink{classBds_1_1ArrayChannel}{Array\+Channel} offset information. So although array\+Offset\+East and array\+Offset\+North are part of a \doxylink{classBds_1_1Location}{Location} object they are not stored in the database Station\+Locations table. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classBds_1_1Location_afbedefa64e907bae65d5e0e2ff84004b}\label{classBds_1_1Location_afbedefa64e907bae65d5e0e2ff84004b} 
\index{Bds::Location@{Bds::Location}!Location@{Location}}
\index{Location@{Location}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{Location()}{Location()}}
{\footnotesize\ttfamily Bds\+::\+Location\+::\+Location (\begin{DoxyParamCaption}\item[{\textbf{ BUInt32}}]{id = {\ttfamily 0},  }\item[{\textbf{ BTime\+Stamp}}]{start\+Time = {\ttfamily \textbf{ BTime\+Stamp}()},  }\item[{\textbf{ BTime\+Stamp}}]{end\+Time = {\ttfamily \textbf{ BTime\+Stamp}()},  }\item[{\textbf{ BString}}]{network = {\ttfamily \textbf{ BString}()},  }\item[{\textbf{ BString}}]{station = {\ttfamily \textbf{ BString}()},  }\item[{\textbf{ BString}}]{channel = {\ttfamily \textbf{ BString}()},  }\item[{\textbf{ BString}}]{datum = {\ttfamily \textbf{ BString}()},  }\item[{\textbf{ BFloat64}}]{longitude = {\ttfamily 0},  }\item[{\textbf{ BFloat64}}]{latitude = {\ttfamily 0},  }\item[{\textbf{ BFloat64}}]{elevation = {\ttfamily 0},  }\item[{\textbf{ BFloat64}}]{array\+Offset\+East = {\ttfamily 0},  }\item[{\textbf{ BFloat64}}]{array\+Offset\+North = {\ttfamily 0} }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\Hypertarget{classBds_1_1Location_a104fffa9bf99d0db411ae701aa95573b}\label{classBds_1_1Location_a104fffa9bf99d0db411ae701aa95573b} 
\index{Bds::Location@{Bds::Location}!getType@{getType}}
\index{getType@{getType}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{getType()}{getType()}}
{\footnotesize\ttfamily const char \texorpdfstring{$\ast$}{*} Bds\+::\+Location\+::get\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ BObj}.

\Hypertarget{classBds_1_1Location_a5dc623512af919b15a361a5af6e7b614}\label{classBds_1_1Location_a5dc623512af919b15a361a5af6e7b614} 
\index{Bds::Location@{Bds::Location}!setMembers@{setMembers}}
\index{setMembers@{setMembers}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{setMembers()}{setMembers()}}
{\footnotesize\ttfamily \textbf{ BError} Bds\+::\+Location\+::set\+Members (\begin{DoxyParamCaption}\item[{\textbf{ BDict\+String} \&}]{members }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ BObj}.

\Hypertarget{classBds_1_1Location_a364f9cf54599fcd23a8167ae4f95516c}\label{classBds_1_1Location_a364f9cf54599fcd23a8167ae4f95516c} 
\index{Bds::Location@{Bds::Location}!setMember@{setMember}}
\index{setMember@{setMember}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{setMember()}{setMember()}}
{\footnotesize\ttfamily \textbf{ BError} Bds\+::\+Location\+::set\+Member (\begin{DoxyParamCaption}\item[{\textbf{ BString}}]{name,  }\item[{\textbf{ BString}}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ BObj}.

\Hypertarget{classBds_1_1Location_ad0f7faf92185e449765209c456cebe73}\label{classBds_1_1Location_ad0f7faf92185e449765209c456cebe73} 
\index{Bds::Location@{Bds::Location}!getMembers@{getMembers}}
\index{getMembers@{getMembers}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{getMembers()}{getMembers()}}
{\footnotesize\ttfamily \textbf{ BError} Bds\+::\+Location\+::get\+Members (\begin{DoxyParamCaption}\item[{\textbf{ BDict\+String} \&}]{members }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ BObj}.

\Hypertarget{classBds_1_1Location_a296ea84140b01d5b88e1fcd5d26317d5}\label{classBds_1_1Location_a296ea84140b01d5b88e1fcd5d26317d5} 
\index{Bds::Location@{Bds::Location}!getMember@{getMember}}
\index{getMember@{getMember}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{getMember()}{getMember()}}
{\footnotesize\ttfamily \textbf{ BError} Bds\+::\+Location\+::get\+Member (\begin{DoxyParamCaption}\item[{\textbf{ BString}}]{name,  }\item[{\textbf{ BString} \&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \textbf{ BObj}.



\doxysubsection{Member Data Documentation}
\Hypertarget{classBds_1_1Location_a593c7527eb02324d40228de984bdabc7}\label{classBds_1_1Location_a593c7527eb02324d40228de984bdabc7} 
\index{Bds::Location@{Bds::Location}!id@{id}}
\index{id@{id}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{id}{id}}
{\footnotesize\ttfamily \textbf{ BUInt32} Bds\+::\+Location\+::id}



The ID. 

\Hypertarget{classBds_1_1Location_a1a79a65d96299b1fb977f0d4d8efb46b}\label{classBds_1_1Location_a1a79a65d96299b1fb977f0d4d8efb46b} 
\index{Bds::Location@{Bds::Location}!startTime@{startTime}}
\index{startTime@{startTime}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{startTime}{startTime}}
{\footnotesize\ttfamily \textbf{ BTime\+Stamp} Bds\+::\+Location\+::start\+Time}



The Start Time. 

\Hypertarget{classBds_1_1Location_a045418d4a61a9161cb1281489981c138}\label{classBds_1_1Location_a045418d4a61a9161cb1281489981c138} 
\index{Bds::Location@{Bds::Location}!endTime@{endTime}}
\index{endTime@{endTime}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{endTime}{endTime}}
{\footnotesize\ttfamily \textbf{ BTime\+Stamp} Bds\+::\+Location\+::end\+Time}



The End Time the channel was available. 

\Hypertarget{classBds_1_1Location_a1f88c72ff3286f5c81d4b05e7b995c43}\label{classBds_1_1Location_a1f88c72ff3286f5c81d4b05e7b995c43} 
\index{Bds::Location@{Bds::Location}!network@{network}}
\index{network@{network}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{network}{network}}
{\footnotesize\ttfamily \textbf{ BString} Bds\+::\+Location\+::network}



The Network/\+Organisation Name. 

\Hypertarget{classBds_1_1Location_a85082ed9da23a2bcbc714e2d5dc94b84}\label{classBds_1_1Location_a85082ed9da23a2bcbc714e2d5dc94b84} 
\index{Bds::Location@{Bds::Location}!station@{station}}
\index{station@{station}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{station}{station}}
{\footnotesize\ttfamily \textbf{ BString} Bds\+::\+Location\+::station}



The station this location is for. 

\Hypertarget{classBds_1_1Location_ab7bb84d9f98ba4a8a4468b9107425036}\label{classBds_1_1Location_ab7bb84d9f98ba4a8a4468b9107425036} 
\index{Bds::Location@{Bds::Location}!channel@{channel}}
\index{channel@{channel}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{channel}{channel}}
{\footnotesize\ttfamily \textbf{ BString} Bds\+::\+Location\+::channel}



The channel this location is for. If blank the location is for the \doxylink{classBds_1_1Station}{Station} itself. 

\Hypertarget{classBds_1_1Location_ac9e97238b10056017ee84088832a2937}\label{classBds_1_1Location_ac9e97238b10056017ee84088832a2937} 
\index{Bds::Location@{Bds::Location}!datum@{datum}}
\index{datum@{datum}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{datum}{datum}}
{\footnotesize\ttfamily \textbf{ BString} Bds\+::\+Location\+::datum}



The locations Datum. 

\Hypertarget{classBds_1_1Location_a91c89610682b113097a77baf56c99759}\label{classBds_1_1Location_a91c89610682b113097a77baf56c99759} 
\index{Bds::Location@{Bds::Location}!longitude@{longitude}}
\index{longitude@{longitude}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{longitude}{longitude}}
{\footnotesize\ttfamily \textbf{ BFloat64} Bds\+::\+Location\+::longitude}



The longitude in degrees using the WGS84 datum. 

\Hypertarget{classBds_1_1Location_aa8996a1292e9c5ede35cb9835458c1a3}\label{classBds_1_1Location_aa8996a1292e9c5ede35cb9835458c1a3} 
\index{Bds::Location@{Bds::Location}!latitude@{latitude}}
\index{latitude@{latitude}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{latitude}{latitude}}
{\footnotesize\ttfamily \textbf{ BFloat64} Bds\+::\+Location\+::latitude}



The Latitude in degrees using the WGS84 datum. 

\Hypertarget{classBds_1_1Location_a2f61edece89644493f9ab2c8563a22b9}\label{classBds_1_1Location_a2f61edece89644493f9ab2c8563a22b9} 
\index{Bds::Location@{Bds::Location}!elevation@{elevation}}
\index{elevation@{elevation}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{elevation}{elevation}}
{\footnotesize\ttfamily \textbf{ BFloat64} Bds\+::\+Location\+::elevation}



The ground level elevation in meters from the WGS84 ellipsoid (Sea level) 

\Hypertarget{classBds_1_1Location_a9ed113842798076dccd82a4502570791}\label{classBds_1_1Location_a9ed113842798076dccd82a4502570791} 
\index{Bds::Location@{Bds::Location}!arrayOffsetEast@{arrayOffsetEast}}
\index{arrayOffsetEast@{arrayOffsetEast}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{arrayOffsetEast}{arrayOffsetEast}}
{\footnotesize\ttfamily \textbf{ BFloat64} Bds\+::\+Location\+::array\+Offset\+East}



The read=only Array offset in an array in an easterly direction if array known/given. \doxylink{classBds_1_1Note}{Note} returns the Array\textquotesingle{}s \doxylink{classBds_1_1ArrayChannel}{Array\+Channel} offset information. 

\Hypertarget{classBds_1_1Location_a6779328b3a59dfe001ef91e6023126ef}\label{classBds_1_1Location_a6779328b3a59dfe001ef91e6023126ef} 
\index{Bds::Location@{Bds::Location}!arrayOffsetNorth@{arrayOffsetNorth}}
\index{arrayOffsetNorth@{arrayOffsetNorth}!Bds::Location@{Bds::Location}}
\doxysubsubsection{\texorpdfstring{arrayOffsetNorth}{arrayOffsetNorth}}
{\footnotesize\ttfamily \textbf{ BFloat64} Bds\+::\+Location\+::array\+Offset\+North}



The read=only Array offset in an array in a northerly direction if array known/given. \doxylink{classBds_1_1Note}{Note} returns the Array\textquotesingle{}s \doxylink{classBds_1_1ArrayChannel}{Array\+Channel} offset information. 



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{BdsD_8h}{Bds\+D.\+h}}\item 
\mbox{\hyperlink{BdsD_8cc}{Bds\+D.\+cc}}\end{DoxyCompactItemize}
