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

CRelationTypeLookup Class Reference

Provides Text->RelationType and RelationType->Text conversion for semantic relation types. More...

#include <relation_type.h>

List of all members.

Public Member Functions

std::string Lookup (const RelationType a_type)
 Lookup a textual representation of a semantic relation type.

RelationType Lookup (const std::string &a_name)
 Lookup a numeric representation of a textual semantic relation.


Detailed Description

Provides Text->RelationType and RelationType->Text conversion for semantic relation types.

Definition at line 93 of file relation_type.h.


Member Function Documentation

RelationType CRelationTypeLookup::Lookup const std::string &  a_name  )  [inline]
 

Lookup a numeric representation of a textual semantic relation.

Definition at line 108 of file relation_type.h.

References g_RelationTypeNames, RelationMapping::m_text, RelationMapping::m_type, MAX_RELATIONS, RELATION_NONE, and RelationType.

std::string CRelationTypeLookup::Lookup const RelationType  a_type  )  [inline]
 

Lookup a textual representation of a semantic relation type.

Definition at line 97 of file relation_type.h.

References g_RelationTypeNames, RelationMapping::m_text, and MAX_RELATIONS.

Referenced by CPredicateDecoder::DecodePredicateText().


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