\hypertarget{classCTextIDMap}{
\section{CText\-IDMap Class Reference}
\label{classCTextIDMap}\index{CTextIDMap@{CTextIDMap}}
}
Associative map of semantic IDs.  


{\tt \#include $<$textid\_\-map.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{semantic__id_8h_a0}{Semantic\-ID} \hyperlink{classCTextIDMap_CTextIDMapa0}{Lookup} (const std::string \&a\_\-string)
\begin{CompactList}\small\item\em Lookup a semantic ID using a textual key. \item\end{CompactList}\item 
const std::string $\ast$ \hyperlink{classCTextIDMap_CTextIDMapa1}{Store} (const std::string \&a\_\-string, const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} a\_\-id)
\begin{CompactList}\small\item\em Store a semantic ID in the map using a textual key. \item\end{CompactList}\item 
\hyperlink{classCTextIDMap_CTextIDMapa2}{CText\-IDMap} ()
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classCTextIDMap_CTextIDMapa3}{$\sim$CText\-IDMap} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Types}
\begin{CompactItemize}
\item 
typedef std::map$<$ std::string, \hyperlink{semantic__id_8h_a0}{Semantic\-ID} $>$ \hyperlink{classCTextIDMap_CTextIDMapy0}{CString\-IDMap}
\begin{CompactList}\small\item\em STL map of semantic IDs using a STL string as the key. \item\end{CompactList}\item 
typedef CString\-IDMap::iterator \hyperlink{classCTextIDMap_CTextIDMapy1}{CString\-IDMap\_\-i}
\begin{CompactList}\small\item\em Iterator for semantic ID STL map. \item\end{CompactList}\item 
typedef CString\-IDMap::const\_\-iterator \hyperlink{classCTextIDMap_CTextIDMapy2}{CString\-IDMap\_\-ci}
\begin{CompactList}\small\item\em Const iterator for semantic ID STL map. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
\hyperlink{classCTextIDMap_CTextIDMapy0}{CString\-IDMap} \hyperlink{classCTextIDMap_CTextIDMapr0}{m\_\-id\-Map}
\begin{CompactList}\small\item\em STL map of semantic IDs. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Associative map of semantic IDs. 



Definition at line 31 of file textid\_\-map.h.

\subsection{Member Typedef Documentation}
\hypertarget{classCTextIDMap_CTextIDMapy0}{
\index{CTextIDMap@{CText\-IDMap}!CStringIDMap@{CStringIDMap}}
\index{CStringIDMap@{CStringIDMap}!CTextIDMap@{CText\-IDMap}}
\subsubsection[CStringIDMap]{\setlength{\rightskip}{0pt plus 5cm}typedef std::map$<$std::string, \hyperlink{semantic__id_8h_a0}{Semantic\-ID}$>$ \hyperlink{classCTextIDMap_CTextIDMapy0}{CText\-IDMap::CString\-IDMap}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapy0}


STL map of semantic IDs using a STL string as the key. 



Definition at line 83 of file textid\_\-map.h.\hypertarget{classCTextIDMap_CTextIDMapy2}{
\index{CTextIDMap@{CText\-IDMap}!CStringIDMap_ci@{CStringIDMap\_\-ci}}
\index{CStringIDMap_ci@{CStringIDMap\_\-ci}!CTextIDMap@{CText\-IDMap}}
\subsubsection[CStringIDMap\_\-ci]{\setlength{\rightskip}{0pt plus 5cm}typedef CString\-IDMap::const\_\-iterator \hyperlink{classCTextIDMap_CTextIDMapy2}{CText\-IDMap::CString\-IDMap\_\-ci}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapy2}


Const iterator for semantic ID STL map. 



Definition at line 87 of file textid\_\-map.h.\hypertarget{classCTextIDMap_CTextIDMapy1}{
\index{CTextIDMap@{CText\-IDMap}!CStringIDMap_i@{CStringIDMap\_\-i}}
\index{CStringIDMap_i@{CStringIDMap\_\-i}!CTextIDMap@{CText\-IDMap}}
\subsubsection[CStringIDMap\_\-i]{\setlength{\rightskip}{0pt plus 5cm}typedef CString\-IDMap::iterator \hyperlink{classCTextIDMap_CTextIDMapy1}{CText\-IDMap::CString\-IDMap\_\-i}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapy1}


Iterator for semantic ID STL map. 



Definition at line 85 of file textid\_\-map.h.

Referenced by Lookup(), and Store().

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classCTextIDMap_CTextIDMapa2}{
\index{CTextIDMap@{CText\-IDMap}!CTextIDMap@{CTextIDMap}}
\index{CTextIDMap@{CTextIDMap}!CTextIDMap@{CText\-IDMap}}
\subsubsection[CTextIDMap]{\setlength{\rightskip}{0pt plus 5cm}CText\-IDMap::CText\-IDMap ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapa2}


Constructor. 



Definition at line 76 of file textid\_\-map.h.\hypertarget{classCTextIDMap_CTextIDMapa3}{
\index{CTextIDMap@{CText\-IDMap}!~CTextIDMap@{$\sim$CTextIDMap}}
\index{~CTextIDMap@{$\sim$CTextIDMap}!CTextIDMap@{CText\-IDMap}}
\subsubsection[$\sim$CTextIDMap]{\setlength{\rightskip}{0pt plus 5cm}CText\-IDMap::$\sim$\hyperlink{classCTextIDMap}{CText\-IDMap} ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapa3}


Destructor. 



Definition at line 79 of file textid\_\-map.h.

\subsection{Member Function Documentation}
\hypertarget{classCTextIDMap_CTextIDMapa0}{
\index{CTextIDMap@{CText\-IDMap}!Lookup@{Lookup}}
\index{Lookup@{Lookup}!CTextIDMap@{CText\-IDMap}}
\subsubsection[Lookup]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{semantic__id_8h_a0}{Semantic\-ID} CText\-IDMap::Lookup (const std::string \& {\em a\_\-string})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapa0}


Lookup a semantic ID using a textual key. 



Definition at line 35 of file textid\_\-map.h.

References CString\-IDMap\_\-i, m\_\-id\-Map, and Semantic\-ID.

Referenced by CPredicate\-Decoder::Decode\-Predicate\-Text(), and COMCSNet::Lookup\-Concept().\hypertarget{classCTextIDMap_CTextIDMapa1}{
\index{CTextIDMap@{CText\-IDMap}!Store@{Store}}
\index{Store@{Store}!CTextIDMap@{CText\-IDMap}}
\subsubsection[Store]{\setlength{\rightskip}{0pt plus 5cm}const std::string$\ast$ CText\-IDMap::Store (const std::string \& {\em a\_\-string}, const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} {\em a\_\-id})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapa1}


Store a semantic ID in the map using a textual key. 



Definition at line 50 of file textid\_\-map.h.

References CString\-IDMap\_\-i, and m\_\-id\-Map.

Referenced by CSemantic\-Concept::CSemantic\-Concept(), and CSemantic\-Concept::Load().

\subsection{Member Data Documentation}
\hypertarget{classCTextIDMap_CTextIDMapr0}{
\index{CTextIDMap@{CText\-IDMap}!m_idMap@{m\_\-idMap}}
\index{m_idMap@{m\_\-idMap}!CTextIDMap@{CText\-IDMap}}
\subsubsection[m\_\-idMap]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCTextIDMap_CTextIDMapy0}{CString\-IDMap} \hyperlink{classCTextIDMap_CTextIDMapr0}{CText\-IDMap::m\_\-id\-Map}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCTextIDMap_CTextIDMapr0}


STL map of semantic IDs. 



Definition at line 90 of file textid\_\-map.h.

Referenced by Lookup(), and Store().

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
\hyperlink{textid__map_8h}{textid\_\-map.h}\end{CompactItemize}
