#include <concept_map.h>
Public Member Functions | |
| bool | Load (FILE *a_fp, CTextIDMap &a_idMap) |
| Loads the concept map from a previously opened file. | |
| bool | Save (FILE *a_fp) |
| Saves the concept map to a previously opened file. | |
| CSemanticConcept * | Lookup (const SemanticID a_id) |
| Lookup a semantic concept in the map using its numeric ID. | |
| void | Store (CSemanticConcept *a_concept) |
| Store a semantic concept in the map. | |
| u_int | GetSize () const |
| Get the number of items in the map. | |
| CConceptMap () | |
| Constructor. | |
| ~CConceptMap () | |
| Destructor. | |
Private Types | |
| typedef std::map< SemanticID, CSemanticConcept * > | CSemanticConceptMap |
| STL map of concepts using their numeric ID as the key. | |
| typedef CSemanticConceptMap::iterator | CSemanticConceptMap_i |
| Iterator for concept STL map. | |
| typedef CSemanticConceptMap::const_iterator | CSemanticConceptMap_ci |
| Const iterator for concept STL map. | |
Private Attributes | |
| CSemanticConceptMap | m_conceptMap |
| STL map of semantic concepts. | |
Definition at line 34 of file concept_map.h.
|
|
STL map of concepts using their numeric ID as the key.
Definition at line 86 of file concept_map.h. |
|
|
Const iterator for concept STL map.
Definition at line 92 of file concept_map.h. |
|
|
Iterator for concept STL map.
Definition at line 89 of file concept_map.h. Referenced by Lookup(), Save(), Store(), and ~CConceptMap(). |
|
|
Constructor.
Definition at line 69 of file concept_map.h. |
|
|
Destructor.
Definition at line 72 of file concept_map.h. References CSemanticConceptMap_i, and m_conceptMap. |
|
|
Get the number of items in the map.
Definition at line 63 of file concept_map.h. References m_conceptMap. Referenced by COMCSNet::LoadPredicateFile(). |
|
||||||||||||
|
Loads the concept map from a previously opened file.
Definition at line 36 of file concept_map.cpp. References CSemanticConcept::Load(), and Store(). Referenced by COMCSNet::Load(). |
Here is the call graph for this function:

|
|
Lookup a semantic concept in the map using its numeric ID.
Definition at line 45 of file concept_map.h. References CSemanticConceptMap_i, and m_conceptMap. Referenced by CPredicateDecoder::DecodePredicateText(), COMCSNet::FindContext(), CSemanticLink::Load(), COMCSNet::LookupConcept(), and COMCSNet::LookupString(). |
|
|
Saves the concept map to a previously opened file.
Definition at line 73 of file concept_map.cpp. References CSemanticConceptMap_i, and m_conceptMap. Referenced by COMCSNet::Save(). |
|
|
Store a semantic concept in the map.
Definition at line 24 of file concept_map.cpp. References CSemanticConceptMap_i, CSemanticConcept::GetID(), and m_conceptMap. Referenced by CPredicateDecoder::DecodePredicateText(), and Load(). |
Here is the call graph for this function:

|
|
STL map of semantic concepts.
Definition at line 95 of file concept_map.h. Referenced by GetSize(), Lookup(), Save(), Store(), and ~CConceptMap(). |
1.3.3