\hypertarget{classCConceptMap}{
\section{CConcept\-Map Class Reference}
\label{classCConceptMap}\index{CConceptMap@{CConceptMap}}
}
Map of semantic concepts.  


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

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool \hyperlink{classCConceptMap_CConceptMapa0}{Load} (FILE $\ast$a\_\-fp, \hyperlink{classCTextIDMap}{CText\-IDMap} \&a\_\-id\-Map)
\begin{CompactList}\small\item\em Loads the concept map from a previously opened file. \item\end{CompactList}\item 
bool \hyperlink{classCConceptMap_CConceptMapa1}{Save} (FILE $\ast$a\_\-fp)
\begin{CompactList}\small\item\em Saves the concept map to a previously opened file. \item\end{CompactList}\item 
\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ \hyperlink{classCConceptMap_CConceptMapa2}{Lookup} (const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} a\_\-id)
\begin{CompactList}\small\item\em Lookup a semantic concept in the map using its numeric ID. \item\end{CompactList}\item 
void \hyperlink{classCConceptMap_CConceptMapa3}{Store} (\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$a\_\-concept)
\begin{CompactList}\small\item\em Store a semantic concept in the map. \item\end{CompactList}\item 
u\_\-int \hyperlink{classCConceptMap_CConceptMapa4}{Get\-Size} () const
\begin{CompactList}\small\item\em Get the number of items in the map. \item\end{CompactList}\item 
\hyperlink{classCConceptMap_CConceptMapa5}{CConcept\-Map} ()
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classCConceptMap_CConceptMapa6}{$\sim$CConcept\-Map} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Types}
\begin{CompactItemize}
\item 
typedef std::map$<$ \hyperlink{semantic__id_8h_a0}{Semantic\-ID}, \hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ $>$ \hyperlink{classCConceptMap_CConceptMapy0}{CSemantic\-Concept\-Map}
\begin{CompactList}\small\item\em STL map of concepts using their numeric ID as the key. \item\end{CompactList}\item 
typedef CSemantic\-Concept\-Map::iterator \hyperlink{classCConceptMap_CConceptMapy1}{CSemantic\-Concept\-Map\_\-i}
\begin{CompactList}\small\item\em Iterator for concept STL map. \item\end{CompactList}\item 
typedef CSemantic\-Concept\-Map::const\_\-iterator \hyperlink{classCConceptMap_CConceptMapy2}{CSemantic\-Concept\-Map\_\-ci}
\begin{CompactList}\small\item\em Const iterator for concept STL map. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
\hyperlink{classCConceptMap_CConceptMapy0}{CSemantic\-Concept\-Map} \hyperlink{classCConceptMap_CConceptMapr0}{m\_\-concept\-Map}
\begin{CompactList}\small\item\em STL map of semantic concepts. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Map of semantic concepts. 



Definition at line 34 of file concept\_\-map.h.

\subsection{Member Typedef Documentation}
\hypertarget{classCConceptMap_CConceptMapy0}{
\index{CConceptMap@{CConcept\-Map}!CSemanticConceptMap@{CSemanticConceptMap}}
\index{CSemanticConceptMap@{CSemanticConceptMap}!CConceptMap@{CConcept\-Map}}
\subsubsection[CSemanticConceptMap]{\setlength{\rightskip}{0pt plus 5cm}typedef std::map$<$\hyperlink{semantic__id_8h_a0}{Semantic\-ID}, \hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$$>$ \hyperlink{classCConceptMap_CConceptMapy0}{CConcept\-Map::CSemantic\-Concept\-Map}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCConceptMap_CConceptMapy0}


STL map of concepts using their numeric ID as the key. 



Definition at line 86 of file concept\_\-map.h.\hypertarget{classCConceptMap_CConceptMapy2}{
\index{CConceptMap@{CConcept\-Map}!CSemanticConceptMap_ci@{CSemanticConceptMap\_\-ci}}
\index{CSemanticConceptMap_ci@{CSemanticConceptMap\_\-ci}!CConceptMap@{CConcept\-Map}}
\subsubsection[CSemanticConceptMap\_\-ci]{\setlength{\rightskip}{0pt plus 5cm}typedef CSemantic\-Concept\-Map::const\_\-iterator \hyperlink{classCConceptMap_CConceptMapy2}{CConcept\-Map::CSemantic\-Concept\-Map\_\-ci}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCConceptMap_CConceptMapy2}


Const iterator for concept STL map. 



Definition at line 92 of file concept\_\-map.h.\hypertarget{classCConceptMap_CConceptMapy1}{
\index{CConceptMap@{CConcept\-Map}!CSemanticConceptMap_i@{CSemanticConceptMap\_\-i}}
\index{CSemanticConceptMap_i@{CSemanticConceptMap\_\-i}!CConceptMap@{CConcept\-Map}}
\subsubsection[CSemanticConceptMap\_\-i]{\setlength{\rightskip}{0pt plus 5cm}typedef CSemantic\-Concept\-Map::iterator \hyperlink{classCConceptMap_CConceptMapy1}{CConcept\-Map::CSemantic\-Concept\-Map\_\-i}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCConceptMap_CConceptMapy1}


Iterator for concept STL map. 



Definition at line 89 of file concept\_\-map.h.

Referenced by Lookup(), Save(), Store(), and $\sim$CConcept\-Map().

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


Constructor. 



Definition at line 69 of file concept\_\-map.h.\hypertarget{classCConceptMap_CConceptMapa6}{
\index{CConceptMap@{CConcept\-Map}!~CConceptMap@{$\sim$CConceptMap}}
\index{~CConceptMap@{$\sim$CConceptMap}!CConceptMap@{CConcept\-Map}}
\subsubsection[$\sim$CConceptMap]{\setlength{\rightskip}{0pt plus 5cm}CConcept\-Map::$\sim$\hyperlink{classCConceptMap}{CConcept\-Map} ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCConceptMap_CConceptMapa6}


Destructor. 



Definition at line 72 of file concept\_\-map.h.

References CSemantic\-Concept\-Map\_\-i, and m\_\-concept\-Map.

\subsection{Member Function Documentation}
\hypertarget{classCConceptMap_CConceptMapa4}{
\index{CConceptMap@{CConcept\-Map}!GetSize@{GetSize}}
\index{GetSize@{GetSize}!CConceptMap@{CConcept\-Map}}
\subsubsection[GetSize]{\setlength{\rightskip}{0pt plus 5cm}u\_\-int CConcept\-Map::Get\-Size () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCConceptMap_CConceptMapa4}


Get the number of items in the map. 



Definition at line 63 of file concept\_\-map.h.

References m\_\-concept\-Map.

Referenced by COMCSNet::Load\-Predicate\-File().\hypertarget{classCConceptMap_CConceptMapa0}{
\index{CConceptMap@{CConcept\-Map}!Load@{Load}}
\index{Load@{Load}!CConceptMap@{CConcept\-Map}}
\subsubsection[Load]{\setlength{\rightskip}{0pt plus 5cm}bool CConcept\-Map::Load (FILE $\ast$ {\em a\_\-fp}, \hyperlink{classCTextIDMap}{CText\-IDMap} \& {\em a\_\-id\-Map})}}
\label{classCConceptMap_CConceptMapa0}


Loads the concept map from a previously opened file. 



Definition at line 36 of file concept\_\-map.cpp.

References CSemantic\-Concept::Load(), and Store().

Referenced by COMCSNet::Load().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=251pt]{classCConceptMap_CConceptMapa0_cgraph}
\end{center}
\end{figure}
\hypertarget{classCConceptMap_CConceptMapa2}{
\index{CConceptMap@{CConcept\-Map}!Lookup@{Lookup}}
\index{Lookup@{Lookup}!CConceptMap@{CConcept\-Map}}
\subsubsection[Lookup]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCSemanticConcept}{CSemantic\-Concept}$\ast$ CConcept\-Map::Lookup (const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} {\em a\_\-id})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCConceptMap_CConceptMapa2}


Lookup a semantic concept in the map using its numeric ID. 



Definition at line 45 of file concept\_\-map.h.

References CSemantic\-Concept\-Map\_\-i, and m\_\-concept\-Map.

Referenced by CPredicate\-Decoder::Decode\-Predicate\-Text(), COMCSNet::Find\-Context(), CSemantic\-Link::Load(), COMCSNet::Lookup\-Concept(), and COMCSNet::Lookup\-String().\hypertarget{classCConceptMap_CConceptMapa1}{
\index{CConceptMap@{CConcept\-Map}!Save@{Save}}
\index{Save@{Save}!CConceptMap@{CConcept\-Map}}
\subsubsection[Save]{\setlength{\rightskip}{0pt plus 5cm}bool CConcept\-Map::Save (FILE $\ast$ {\em a\_\-fp})}}
\label{classCConceptMap_CConceptMapa1}


Saves the concept map to a previously opened file. 



Definition at line 73 of file concept\_\-map.cpp.

References CSemantic\-Concept\-Map\_\-i, and m\_\-concept\-Map.

Referenced by COMCSNet::Save().\hypertarget{classCConceptMap_CConceptMapa3}{
\index{CConceptMap@{CConcept\-Map}!Store@{Store}}
\index{Store@{Store}!CConceptMap@{CConcept\-Map}}
\subsubsection[Store]{\setlength{\rightskip}{0pt plus 5cm}void CConcept\-Map::Store (\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ {\em a\_\-concept})}}
\label{classCConceptMap_CConceptMapa3}


Store a semantic concept in the map. 



Definition at line 24 of file concept\_\-map.cpp.

References CSemantic\-Concept\-Map\_\-i, CSemantic\-Concept::Get\-ID(), and m\_\-concept\-Map.

Referenced by CPredicate\-Decoder::Decode\-Predicate\-Text(), and Load().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=167pt]{classCConceptMap_CConceptMapa3_cgraph}
\end{center}
\end{figure}


\subsection{Member Data Documentation}
\hypertarget{classCConceptMap_CConceptMapr0}{
\index{CConceptMap@{CConcept\-Map}!m_conceptMap@{m\_\-conceptMap}}
\index{m_conceptMap@{m\_\-conceptMap}!CConceptMap@{CConcept\-Map}}
\subsubsection[m\_\-conceptMap]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCConceptMap_CConceptMapy0}{CSemantic\-Concept\-Map} \hyperlink{classCConceptMap_CConceptMapr0}{CConcept\-Map::m\_\-concept\-Map}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCConceptMap_CConceptMapr0}


STL map of semantic concepts. 



Definition at line 95 of file concept\_\-map.h.

Referenced by Get\-Size(), Lookup(), Save(), Store(), and $\sim$CConcept\-Map().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
\hyperlink{concept__map_8h}{concept\_\-map.h}\item 
\hyperlink{concept__map_8cpp}{concept\_\-map.cpp}\end{CompactItemize}
