#include <textid_map.h>
Public Member Functions | |
| SemanticID | Lookup (const std::string &a_string) |
| Lookup a semantic ID using a textual key. | |
| const std::string * | Store (const std::string &a_string, const SemanticID a_id) |
| Store a semantic ID in the map using a textual key. | |
| CTextIDMap () | |
| Constructor. | |
| ~CTextIDMap () | |
| Destructor. | |
Private Types | |
| typedef std::map< std::string, SemanticID > | CStringIDMap |
| STL map of semantic IDs using a STL string as the key. | |
| typedef CStringIDMap::iterator | CStringIDMap_i |
| Iterator for semantic ID STL map. | |
| typedef CStringIDMap::const_iterator | CStringIDMap_ci |
| Const iterator for semantic ID STL map. | |
Private Attributes | |
| CStringIDMap | m_idMap |
| STL map of semantic IDs. | |
Definition at line 31 of file textid_map.h.
|
|
STL map of semantic IDs using a STL string as the key.
Definition at line 83 of file textid_map.h. |
|
|
Const iterator for semantic ID STL map.
Definition at line 87 of file textid_map.h. |
|
|
Iterator for semantic ID STL map.
Definition at line 85 of file textid_map.h. |
|
|
Constructor.
Definition at line 76 of file textid_map.h. |
|
|
Destructor.
Definition at line 79 of file textid_map.h. |
|
|
Lookup a semantic ID using a textual key.
Definition at line 35 of file textid_map.h. References CStringIDMap_i, m_idMap, and SemanticID. Referenced by CPredicateDecoder::DecodePredicateText(), and COMCSNet::LookupConcept(). |
|
||||||||||||
|
Store a semantic ID in the map using a textual key.
Definition at line 50 of file textid_map.h. References CStringIDMap_i, and m_idMap. Referenced by CSemanticConcept::CSemanticConcept(), and CSemanticConcept::Load(). |
|
|
STL map of semantic IDs.
Definition at line 90 of file textid_map.h. |
1.3.3