\hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode}{}\doxysection{osgeo\+::proj\+::io\+::WKTNode Class Reference}
\label{classosgeo_1_1proj_1_1io_1_1WKTNode}\index{osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}}


Node in the tree-\/splitted WKT representation.  




{\ttfamily \#include $<$io.\+hpp$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode_a46d296f82579cebbe7461de763f0f234}{WKTNode}} (const std\+::string \&value\+In)
\begin{DoxyCompactList}\small\item\em Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode}{WKTNode}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_ad0e7f7f09c40cba33431f3bdca56c5e8}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_ad0e7f7f09c40cba33431f3bdca56c5e8}} 
const std\+::string \& {\bfseries value} () const
\begin{DoxyCompactList}\small\item\em Return the value of a node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_a9b74079d2b774080152037eb55574d99}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_a9b74079d2b774080152037eb55574d99}} 
const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_a0d7db6c3ecf8d65414061530289f4d8b}{WKTNode\+NNPtr}} $>$ \& {\bfseries children} () const
\begin{DoxyCompactList}\small\item\em Return the children of a node. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode_a88255ceae0cf588384172abe403898be}{add\+Child}} (\mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_a0d7db6c3ecf8d65414061530289f4d8b}{WKTNode\+NNPtr}} \&\&child)
\begin{DoxyCompactList}\small\item\em Adds a child to the current node. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_a5dc6e0362ef50a2272a337cde9ee3628}{WKTNode\+Ptr}} \& \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode_a43b15be2f7c0e9b4d89d94fc3efaf926}{look\+For\+Child}} (const std\+::string \&child\+Name, int occurrence=0) const noexcept
\begin{DoxyCompactList}\small\item\em Return the (occurrence-\/1)th sub-\/node of name child\+Name. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode_a63d77e2a279d7e6a58e43290f432ab65}{count\+Children\+Of\+Name}} (const std\+::string \&child\+Name) const noexcept
\begin{DoxyCompactList}\small\item\em Return the count of children of given name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_af17df6bf510e153d0994d3407d56fc25}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_af17df6bf510e153d0994d3407d56fc25}} 
std\+::string {\bfseries to\+String} () const
\begin{DoxyCompactList}\small\item\em Return a WKT representation of the tree structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_a0d7db6c3ecf8d65414061530289f4d8b}{WKTNode\+NNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode_aacdf2c4c25dbf1f91a80ce6caccdad5e}{create\+From}} (const std\+::string \&wkt, size\+\_\+t index\+Start=0)
\begin{DoxyCompactList}\small\item\em Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode}{WKTNode}} hierarchy from a WKT string. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Node in the tree-\/splitted WKT representation. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_a46d296f82579cebbe7461de763f0f234}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_a46d296f82579cebbe7461de763f0f234}} 
\index{osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}!WKTNode@{WKTNode}}
\index{WKTNode@{WKTNode}!osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}}
\doxysubsubsection{\texorpdfstring{WKTNode()}{WKTNode()}}
{\footnotesize\ttfamily osgeo\+::proj\+::io\+::\+WKTNode\+::\+WKTNode (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{value\+In }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}



Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode}{WKTNode}}. 


\begin{DoxyParams}{Parameters}
{\em value\+In} & the name of the node. \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_a88255ceae0cf588384172abe403898be}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_a88255ceae0cf588384172abe403898be}} 
\index{osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}!addChild@{addChild}}
\index{addChild@{addChild}!osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}}
\doxysubsubsection{\texorpdfstring{addChild()}{addChild()}}
{\footnotesize\ttfamily void osgeo\+::proj\+::io\+::\+WKTNode\+::add\+Child (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_a0d7db6c3ecf8d65414061530289f4d8b}{WKTNode\+NNPtr}} \&\&}]{child }\end{DoxyParamCaption})}



Adds a child to the current node. 


\begin{DoxyParams}{Parameters}
{\em child} & child to add. This should not be a parent of this node. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_a63d77e2a279d7e6a58e43290f432ab65}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_a63d77e2a279d7e6a58e43290f432ab65}} 
\index{osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}!countChildrenOfName@{countChildrenOfName}}
\index{countChildrenOfName@{countChildrenOfName}!osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}}
\doxysubsubsection{\texorpdfstring{countChildrenOfName()}{countChildrenOfName()}}
{\footnotesize\ttfamily int osgeo\+::proj\+::io\+::\+WKTNode\+::count\+Children\+Of\+Name (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{child\+Name }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [noexcept]}}



Return the count of children of given name. 


\begin{DoxyParams}{Parameters}
{\em child\+Name} & name of the children to look for. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
count 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_aacdf2c4c25dbf1f91a80ce6caccdad5e}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_aacdf2c4c25dbf1f91a80ce6caccdad5e}} 
\index{osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}!createFrom@{createFrom}}
\index{createFrom@{createFrom}!osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}}
\doxysubsubsection{\texorpdfstring{createFrom()}{createFrom()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_a0d7db6c3ecf8d65414061530289f4d8b}{WKTNode\+NNPtr}} osgeo\+::proj\+::io\+::\+WKTNode\+::create\+From (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{wkt,  }\item[{size\+\_\+t}]{index\+Start = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTNode}{WKTNode}} hierarchy from a WKT string. 


\begin{DoxyParams}{Parameters}
{\em wkt} & the WKT string to parse. \\
\hline
{\em index\+Start} & the start index in the wkt string. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1ParsingException}{Parsing\+Exception}}} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTNode_a43b15be2f7c0e9b4d89d94fc3efaf926}\label{classosgeo_1_1proj_1_1io_1_1WKTNode_a43b15be2f7c0e9b4d89d94fc3efaf926}} 
\index{osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}!lookForChild@{lookForChild}}
\index{lookForChild@{lookForChild}!osgeo::proj::io::WKTNode@{osgeo::proj::io::WKTNode}}
\doxysubsubsection{\texorpdfstring{lookForChild()}{lookForChild()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_a5dc6e0362ef50a2272a337cde9ee3628}{WKTNode\+Ptr}} \& osgeo\+::proj\+::io\+::\+WKTNode\+::look\+For\+Child (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{child\+Name,  }\item[{int}]{occurrence = {\ttfamily 0} }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [noexcept]}}



Return the (occurrence-\/1)th sub-\/node of name child\+Name. 


\begin{DoxyParams}{Parameters}
{\em child\+Name} & name of the child. \\
\hline
{\em occurrence} & occurrence index (starting at 0) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the child, or nullptr. 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
include/proj/io.\+hpp\item 
src/iso19111/io.\+cpp\end{DoxyCompactItemize}
