Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > Class Template Reference

#include <itkPriorityQueueContainer.h>

Inheritance diagram for itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >:

Inheritance graph
[legend]
Collaboration diagram for itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
class itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >

Definition at line 104 of file itkPriorityQueueContainer.h.

Public Types

typedef TElementIdentifier ElementIdentifierType
typedef TElementPriority ElementPriorityType
typedef TElement ElementType

Public Member Functions

virtual TElementIdentifier GetLocation (const ElementType &element)=0
ElementIdentifierType GetLocation (const MinPriorityQueueElementWrapper &element)
virtual bool is_greater (const ElementType &element1, const ElementType &element2)=0
virtual bool is_greater (const MinPriorityQueueElementWrapper &element1, const MinPriorityQueueElementWrapper &element2)
virtual bool is_less (const ElementType &element1, const ElementType &element2)=0
virtual bool is_less (const MinPriorityQueueElementWrapper &element1, const MinPriorityQueueElementWrapper &element2)
 MinPriorityQueueElementWrapper (ElementType element, ElementPriorityType priority)
 MinPriorityQueueElementWrapper ()
bool operator< (const MinPriorityQueueElementWrapper &other) const
bool operator== (const MinPriorityQueueElementWrapper &other) const
bool operator> (const MinPriorityQueueElementWrapper &other) const
virtual void SetLocation (ElementType &element, const ElementIdentifierType &identifier)=0
void SetLocation (MinPriorityQueueElementWrapper &element, const TElementIdentifier &identifier)
virtual ~MinPriorityQueueElementWrapper ()

Public Attributes

ElementType m_Element
ElementIdentifierType m_Location
ElementPriorityType m_Priority


Member Typedef Documentation

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
typedef TElementIdentifier itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::ElementIdentifierType

Reimplemented from itk::ElementWrapperInterface< TElement, TElementIdentifier >.

Reimplemented in itk::MaxPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >.

Definition at line 115 of file itkPriorityQueueContainer.h.

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
typedef TElementPriority itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::ElementPriorityType

Reimplemented in itk::MaxPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >.

Definition at line 114 of file itkPriorityQueueContainer.h.

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
typedef TElement itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::ElementType

Reimplemented from itk::ElementWrapperInterface< TElement, TElementIdentifier >.

Reimplemented in itk::MaxPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >.

Definition at line 113 of file itkPriorityQueueContainer.h.


Constructor & Destructor Documentation

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::MinPriorityQueueElementWrapper (  )  [inline]

Definition at line 121 of file itkPriorityQueueContainer.h.

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::MinPriorityQueueElementWrapper ( ElementType  element,
ElementPriorityType  priority 
) [inline]

Definition at line 124 of file itkPriorityQueueContainer.h.

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
virtual itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::~MinPriorityQueueElementWrapper (  )  [inline, virtual]

Definition at line 128 of file itkPriorityQueueContainer.h.


Member Function Documentation

template<typename TElement, typename TElementIdentifier = int>
virtual TElementIdentifier itk::ElementWrapperInterface< TElement, TElementIdentifier >::GetLocation ( const ElementType element  )  [pure virtual, inherited]

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
ElementIdentifierType itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::GetLocation ( const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  element  )  [inline]

Definition at line 145 of file itkPriorityQueueContainer.h.

References itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Location.

template<typename TElement, typename TElementIdentifier = int>
virtual bool itk::ElementWrapperInterface< TElement, TElementIdentifier >::is_greater ( const ElementType element1,
const ElementType element2 
) [pure virtual, inherited]

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
virtual bool itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::is_greater ( const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  element1,
const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  element2 
) [inline, virtual]

Definition at line 161 of file itkPriorityQueueContainer.h.

Referenced by itk::MaxPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::is_greater().

template<typename TElement, typename TElementIdentifier = int>
virtual bool itk::ElementWrapperInterface< TElement, TElementIdentifier >::is_less ( const ElementType element1,
const ElementType element2 
) [pure virtual, inherited]

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
virtual bool itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::is_less ( const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  element1,
const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  element2 
) [inline, virtual]

Definition at line 156 of file itkPriorityQueueContainer.h.

Referenced by itk::MaxPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::is_less().

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
bool itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::operator< ( const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  other  )  const [inline]

Definition at line 135 of file itkPriorityQueueContainer.h.

References itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Priority.

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
bool itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::operator== ( const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  other  )  const [inline]

Definition at line 140 of file itkPriorityQueueContainer.h.

References itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Priority.

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
bool itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::operator> ( const MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  other  )  const [inline]

Definition at line 130 of file itkPriorityQueueContainer.h.

References itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Priority.

template<typename TElement, typename TElementIdentifier = int>
virtual void itk::ElementWrapperInterface< TElement, TElementIdentifier >::SetLocation ( ElementType element,
const ElementIdentifierType identifier 
) [pure virtual, inherited]

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
void itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::SetLocation ( MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier > &  element,
const TElementIdentifier &  identifier 
) [inline]

Definition at line 150 of file itkPriorityQueueContainer.h.

References itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Location.


Member Data Documentation

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
ElementType itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Element

Definition at line 117 of file itkPriorityQueueContainer.h.

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
ElementIdentifierType itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Location

Definition at line 119 of file itkPriorityQueueContainer.h.

Referenced by itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::GetLocation(), and itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::SetLocation().

template<typename TElement, typename TElementPriority = double, typename TElementIdentifier = int>
ElementPriorityType itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::m_Priority

Definition at line 118 of file itkPriorityQueueContainer.h.

Referenced by itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::operator<(), itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::operator==(), and itk::MinPriorityQueueElementWrapper< TElement, TElementPriority, TElementIdentifier >::operator>().


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 08:21:59 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000