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

CSemanticLinkList Class Reference

List of semantic links. More...

#include <link_list.h>

List of all members.

Public Member Functions

CSemanticLinkListClone ()
 Clones the list, creating a new instance.

bool Lookup (CSemanticLink *a_link)
 Lookup a specific semantic link within the list.

CLinkList_i GetIterator ()
 Get an iterator pointing to the beginning of list.

CLinkList_ri GetReverseIterator ()
 Gets a reverse iterator pointing to the end of the list.

CSemanticLinkGetNext (CLinkList_ri &a_iter)
 Gets the next available semantic link from the list using a reverse iterator.

CSemanticLinkGetNext (CLinkList_i &a_iter)
 Gets the next available semantic link from the list using a forward iterator.

void Store (CSemanticLink *a_link)
 Appends a semantic link to the end of the list.

void StoreFront (CSemanticLink *a_link)
 Inserts a semantic link at the beginning of the list.

void Remove ()
 Removes a semantic link from the end of the list.

void RemoveFront ()
 Removes a semantic link from the beginning of the list.

void Clear ()
 Empties the list.

u_int GetSize () const
 Gets the number of links in the list.

 CSemanticLinkList ()
 Constructor.

 ~CSemanticLinkList ()
 Destructor.


Private Attributes

CLinkList m_links


Detailed Description

List of semantic links.

Definition at line 42 of file link_list.h.


Constructor & Destructor Documentation

CSemanticLinkList::CSemanticLinkList  )  [inline]
 

Constructor.

Definition at line 147 of file link_list.h.

CSemanticLinkList::~CSemanticLinkList  )  [inline]
 

Destructor.

Definition at line 150 of file link_list.h.


Member Function Documentation

void CSemanticLinkList::Clear  )  [inline]
 

Empties the list.

Definition at line 135 of file link_list.h.

References m_links.

CSemanticLinkList* CSemanticLinkList::Clone  )  [inline]
 

Clones the list, creating a new instance.

Definition at line 46 of file link_list.h.

References CLinkList_i, m_links, and Store().

Referenced by CFindPathConfig::AddPathToResults(), CFindPathConfig::QueuePath(), and CFindPathConfig::SetCurrentPath().

Here is the call graph for this function:

CLinkList_i CSemanticLinkList::GetIterator  )  [inline]
 

Get an iterator pointing to the beginning of list.

Definition at line 77 of file link_list.h.

References CLinkList_i, and m_links.

CSemanticLink* CSemanticLinkList::GetNext CLinkList_i a_iter  )  [inline]
 

Gets the next available semantic link from the list using a forward iterator.

Definition at line 100 of file link_list.h.

References m_links.

CSemanticLink* CSemanticLinkList::GetNext CLinkList_ri a_iter  )  [inline]
 

Gets the next available semantic link from the list using a reverse iterator.

Definition at line 89 of file link_list.h.

References m_links.

Referenced by COMCSNet::FindPathFromA_To_B().

CLinkList_ri CSemanticLinkList::GetReverseIterator  )  [inline]
 

Gets a reverse iterator pointing to the end of the list.

Definition at line 83 of file link_list.h.

References CLinkList_ri, and m_links.

Referenced by COMCSNet::FindPathFromA_To_B().

u_int CSemanticLinkList::GetSize  )  const [inline]
 

Gets the number of links in the list.

Definition at line 141 of file link_list.h.

References m_links.

Referenced by CFindPathConfig::AddPathToResults().

bool CSemanticLinkList::Lookup CSemanticLink a_link  )  [inline]
 

Lookup a specific semantic link within the list.

Definition at line 61 of file link_list.h.

References CLinkList_i, and m_links.

Referenced by CFindPathConfig::CheckCurrentPath().

void CSemanticLinkList::Remove  )  [inline]
 

Removes a semantic link from the end of the list.

Definition at line 123 of file link_list.h.

References m_links.

Referenced by CFindPathConfig::LeaveLink().

void CSemanticLinkList::RemoveFront  )  [inline]
 

Removes a semantic link from the beginning of the list.

Definition at line 129 of file link_list.h.

References m_links.

void CSemanticLinkList::Store CSemanticLink a_link  )  [inline]
 

Appends a semantic link to the end of the list.

Definition at line 111 of file link_list.h.

References m_links.

Referenced by Clone(), and CFindPathConfig::VisitLink().

void CSemanticLinkList::StoreFront CSemanticLink a_link  )  [inline]
 

Inserts a semantic link at the beginning of the list.

Definition at line 117 of file link_list.h.

References m_links.


Member Data Documentation

CLinkList CSemanticLinkList::m_links [private]
 

Definition at line 153 of file link_list.h.

Referenced by Clear(), Clone(), GetIterator(), GetNext(), GetReverseIterator(), GetSize(), Lookup(), Remove(), RemoveFront(), Store(), and StoreFront().


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