FreePOOMA  2.4.1
Public Types | Public Member Functions
DomainMapNode< Dom, T > Class Template Reference

DomainMapNode is a node in a tree, where each Node has a list of domains and a left and right branch. More...

#include <DomainMap.h>

Inheritance diagram for DomainMapNode< Dom, T >:
Inheritance graph
[legend]
Collaboration diagram for DomainMapNode< Dom, T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Dom Domain_t
typedef T Data_t
typedef std::pair< Domain_t,
Data_t
Value_t
typedef std::list< Value_tList_t
typedef DomainMapNode< Dom, T > Node_t
typedef List_t::iterator iterator

Public Member Functions

 DomainMapNode (const Domain_t &d, Node_t *p=0)
 ~DomainMapNode ()
const Domain_tdomain () const
iterator begin ()
iterator end ()
void insert (const Value_t &v)
Node_tnextRightNode ()
Node_tnextRightTouchNode (const Domain_t &d)
Node_tfindLeftNode ()
Node_tfindLeftTouchNode (const Domain_t &d)

Detailed Description

template<class Dom, class T>
class DomainMapNode< Dom, T >

DomainMapNode is a node in a tree, where each Node has a list of domains and a left and right branch.

This class is pooled since it will be created and deleted often. It contains methods for finding the left and right nodes in its leaves.


Member Typedef Documentation

template<class Dom , class T >
typedef Dom DomainMapNode< Dom, T >::Domain_t
template<class Dom , class T >
typedef T DomainMapNode< Dom, T >::Data_t
template<class Dom , class T >
typedef std::pair<Domain_t,Data_t> DomainMapNode< Dom, T >::Value_t
template<class Dom , class T >
typedef std::list<Value_t> DomainMapNode< Dom, T >::List_t
template<class Dom , class T >
typedef DomainMapNode<Dom,T> DomainMapNode< Dom, T >::Node_t
template<class Dom , class T >
typedef List_t::iterator DomainMapNode< Dom, T >::iterator

Constructor & Destructor Documentation

template<class Dom , class T >
DomainMapNode< Dom, T >::DomainMapNode ( const Domain_t d,
Node_t p = 0 
) [inline]
template<class Dom , class T >
DomainMapNode< Dom, T >::~DomainMapNode ( ) [inline]

Member Function Documentation

template<class Dom , class T >
const Domain_t& DomainMapNode< Dom, T >::domain ( ) const [inline]
template<class Dom , class T >
iterator DomainMapNode< Dom, T >::begin ( ) [inline]
template<class Dom , class T >
iterator DomainMapNode< Dom, T >::end ( ) [inline]
template<class Dom , class T >
void DomainMapNode< Dom, T >::insert ( const Value_t v) [inline]
template<class Dom , class T >
Node_t* DomainMapNode< Dom, T >::nextRightNode ( ) [inline]
template<class Dom , class T >
Node_t* DomainMapNode< Dom, T >::nextRightTouchNode ( const Domain_t d) [inline]
template<class Dom , class T >
Node_t* DomainMapNode< Dom, T >::findLeftNode ( ) [inline]
template<class Dom , class T >
Node_t* DomainMapNode< Dom, T >::findLeftTouchNode ( const Domain_t d) [inline]

The documentation for this class was generated from the following file: