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

CSemanticIDGenerator Class Reference

Generates unique numeric IDs used to represent concepts and semantic links. More...

#include <id_generator.h>

List of all members.

Public Member Functions

SemanticID Get ()
 Gets a new unique ID.

 CSemanticIDGenerator ()
 Constructor.

 ~CSemanticIDGenerator ()
 Destructor.


Private Attributes

SemanticID m_currentID
 Current ID.


Detailed Description

Generates unique numeric IDs used to represent concepts and semantic links.

Definition at line 30 of file id_generator.h.


Constructor & Destructor Documentation

CSemanticIDGenerator::CSemanticIDGenerator  )  [inline]
 

Constructor.

Definition at line 40 of file id_generator.h.

References m_currentID.

CSemanticIDGenerator::~CSemanticIDGenerator  )  [inline]
 

Destructor.

Definition at line 46 of file id_generator.h.


Member Function Documentation

SemanticID CSemanticIDGenerator::Get  )  [inline]
 

Gets a new unique ID.

Definition at line 34 of file id_generator.h.

References m_currentID, and SemanticID.

Referenced by CSemanticConcept::CSemanticConcept(), and CPredicateDecoder::DecodePredicateText().


Member Data Documentation

SemanticID CSemanticIDGenerator::m_currentID [private]
 

Current ID.

Definition at line 50 of file id_generator.h.

Referenced by CSemanticIDGenerator(), and Get().


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