Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

CPredicateDecoder Class Reference

Raw predicate decoder. More...

#include <pred_decoder.h>

Collaboration diagram for CPredicateDecoder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void DecodePredicateText (const std::string &a_string, CTextIDMap &a_idMap, CSemanticIDGenerator &a_idGen, CConceptMap &a_conceptMap, CLinkMap &a_linkMap)
 Decodes a raw predicate, adding the results to the semantic network.

 CPredicateDecoder ()
 Constructor.

 ~CPredicateDecoder ()
 Destructor.


Private Attributes

CRelationTypeLookup m_relationLookup
 Lookup table for semantic relation <-> textual names.


Detailed Description

Raw predicate decoder.

Definition at line 39 of file pred_decoder.h.


Constructor & Destructor Documentation

CPredicateDecoder::CPredicateDecoder  )  [inline]
 

Constructor.

Definition at line 148 of file pred_decoder.h.

CPredicateDecoder::~CPredicateDecoder  )  [inline]
 

Destructor.

Definition at line 151 of file pred_decoder.h.


Member Function Documentation

void CPredicateDecoder::DecodePredicateText const std::string &  a_string,
CTextIDMap a_idMap,
CSemanticIDGenerator a_idGen,
CConceptMap a_conceptMap,
CLinkMap a_linkMap
[inline]
 

Decodes a raw predicate, adding the results to the semantic network.

Definition at line 43 of file pred_decoder.h.

References CSemanticConcept::AddBackwardLink(), CSemanticConcept::AddLink(), DPRINT, CSemanticIDGenerator::Get(), CSemanticConcept::GetID(), CConceptMap::Lookup(), CTextIDMap::Lookup(), CRelationTypeLookup::Lookup(), m_relationLookup, RelationType, SemanticID, CSemanticLink::SetDest(), CSemanticLink::SetID(), CSemanticLink::SetSource(), CSemanticLink::SetType(), CLinkMap::Store(), and CConceptMap::Store().

Referenced by COMCSNet::LoadPredicateFile().

Here is the call graph for this function:


Member Data Documentation

CRelationTypeLookup CPredicateDecoder::m_relationLookup [private]
 

Lookup table for semantic relation <-> textual names.

Definition at line 155 of file pred_decoder.h.

Referenced by DecodePredicateText().


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 09:45:08 2003 for OMCSNetCPP by doxygen 1.3.3