Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

IDMapTableNode< ID, INFO > Struct Template Reference

Template for ID -> INFO (pointer) mapping; node representation. More...

#include <maptable.h>

Collaboration diagram for IDMapTableNode< ID, INFO >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IDMapTableNode ()
 IDMapTableNode (ID _tid, INFO _info)
 IDMapTableNode (const IDMapTableNode &n)
 ~IDMapTableNode ()
IDMapTableNodeoperator= (const IDMapTableNode &n)
bool operator== (const IDMapTableNode &n) const
 Lots of relational operators for sorting and searching.

bool operator!= (const IDMapTableNode &n) const
bool operator< (const IDMapTableNode &n) const
bool operator> (const IDMapTableNode &n) const
bool operator<= (const IDMapTableNode &n) const
bool operator>= (const IDMapTableNode &n) const
bool operator== (const ID &b) const
bool operator!= (const ID &b) const
bool operator< (const ID &b) const
bool operator> (const ID &b) const
bool operator<= (const ID &b) const
bool operator>= (const ID &b) const

Public Attributes

ID id
INFO info

Detailed Description

template<typename ID, typename INFO>
struct IDMapTableNode< ID, INFO >

Template for ID -> INFO (pointer) mapping; node representation.

Author:
Wolfgang Wieser ] wwieser (a) gmx <*> de [
Template for ID -> INFO (pointer) mapping e.g. using a B-Tree. This type is C++-safe (as long as the ID and INFO types are). This is the node type used for mapping.

Definition at line 40 of file maptable.h.


Constructor & Destructor Documentation

template<typename ID, typename INFO>
IDMapTableNode< ID, INFO >::IDMapTableNode  )  [inline]
 

Definition at line 45 of file maptable.h.

References IDMapTableNode< ID, INFO >::id, and IDMapTableNode< ID, INFO >::info.

template<typename ID, typename INFO>
IDMapTableNode< ID, INFO >::IDMapTableNode ID  _tid,
INFO  _info
[inline]
 

Definition at line 46 of file maptable.h.

References IDMapTableNode< ID, INFO >::id, and IDMapTableNode< ID, INFO >::info.

template<typename ID, typename INFO>
IDMapTableNode< ID, INFO >::IDMapTableNode const IDMapTableNode< ID, INFO > &  n  )  [inline]
 

Definition at line 48 of file maptable.h.

References IDMapTableNode< ID, INFO >::id, and IDMapTableNode< ID, INFO >::info.

template<typename ID, typename INFO>
IDMapTableNode< ID, INFO >::~IDMapTableNode  )  [inline]
 

Definition at line 50 of file maptable.h.

References IDMapTableNode< ID, INFO >::info.


Member Function Documentation

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator!= const ID &  b  )  const [inline]
 

Definition at line 63 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator!= const IDMapTableNode< ID, INFO > &  n  )  const [inline]
 

Definition at line 57 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator< const ID &  b  )  const [inline]
 

Definition at line 64 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator< const IDMapTableNode< ID, INFO > &  n  )  const [inline]
 

Definition at line 58 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator<= const ID &  b  )  const [inline]
 

Definition at line 66 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator<= const IDMapTableNode< ID, INFO > &  n  )  const [inline]
 

Definition at line 60 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
IDMapTableNode& IDMapTableNode< ID, INFO >::operator= const IDMapTableNode< ID, INFO > &  n  )  [inline]
 

Definition at line 52 of file maptable.h.

References IDMapTableNode< ID, INFO >::id, and IDMapTableNode< ID, INFO >::info.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator== const ID &  b  )  const [inline]
 

Definition at line 62 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator== const IDMapTableNode< ID, INFO > &  n  )  const [inline]
 

Lots of relational operators for sorting and searching.

Definition at line 56 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator> const ID &  b  )  const [inline]
 

Definition at line 65 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator> const IDMapTableNode< ID, INFO > &  n  )  const [inline]
 

Definition at line 59 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator>= const ID &  b  )  const [inline]
 

Definition at line 67 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.

template<typename ID, typename INFO>
bool IDMapTableNode< ID, INFO >::operator>= const IDMapTableNode< ID, INFO > &  n  )  const [inline]
 

Definition at line 61 of file maptable.h.

References IDMapTableNode< ID, INFO >::id.


Member Data Documentation

template<typename ID, typename INFO>
ID IDMapTableNode< ID, INFO >::id
 

Definition at line 42 of file maptable.h.

Referenced by IDMapTableNode< ID, INFO >::IDMapTableNode(), IDMapTableNode< ID, INFO >::operator!=(), IDMapTableNode< ID, INFO >::operator<(), IDMapTableNode< ID, INFO >::operator<=(), IDMapTableNode< ID, INFO >::operator=(), IDMapTableNode< ID, INFO >::operator==(), IDMapTableNode< ID, INFO >::operator>(), and IDMapTableNode< ID, INFO >::operator>=().

template<typename ID, typename INFO>
INFO IDMapTableNode< ID, INFO >::info
 

Definition at line 43 of file maptable.h.

Referenced by IDMapTable< SymRef, ProgramStorage::Function * >::AddNode(), IDMapTableNode< ID, INFO >::IDMapTableNode(), IDMapTableNode< ID, INFO >::operator=(), and IDMapTableNode< ID, INFO >::~IDMapTableNode().


The documentation for this struct was generated from the following file:
Generated on Sat Feb 19 22:35:26 2005 for Ray by doxygen 1.3.5