tree< T, tree_node_allocator >::tree::compare_nodes< StrictWeakOrdering > Class Template Reference

Comparator class for two nodes of a tree (used for sorting and searching). More...

List of all members.

Public Member Functions

 compare_nodes (StrictWeakOrdering comp)
bool operator() (const tree_node *a, const tree_node *b)

Private Attributes

StrictWeakOrdering comp_


Detailed Description

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
template<class StrictWeakOrdering>
class tree< T, tree_node_allocator >::compare_nodes< StrictWeakOrdering >

Comparator class for two nodes of a tree (used for sorting and searching).

Constructor & Destructor Documentation

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
template<class StrictWeakOrdering >
tree< T, tree_node_allocator >::tree::compare_nodes< StrictWeakOrdering >::compare_nodes ( StrictWeakOrdering  comp  )  [inline]


Member Function Documentation

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
template<class StrictWeakOrdering >
bool tree< T, tree_node_allocator >::tree::compare_nodes< StrictWeakOrdering >::operator() ( const tree_node a,
const tree_node b 
) [inline]

References tree_node_< T >::data.


Member Data Documentation

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
template<class StrictWeakOrdering >
StrictWeakOrdering tree< T, tree_node_allocator >::tree::compare_nodes< StrictWeakOrdering >::comp_ [private]


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

Generated on Mon Apr 6 13:11:47 2009 for liborigin2 by  doxygen 1.5.8