Public Member Functions | Private Attributes | List of all members
tree< T, tree_node_allocator >::compare_nodes< StrictWeakOrdering > Class Template Reference

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

Public Member Functions

 compare_nodes (StrictWeakOrdering comp)
 
 compare_nodes (StrictWeakOrdering comp)
 
bool operator() (const tree_node *a, const tree_node *b)
 
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).

Definition at line 433 of file tree.h.

Constructor & Destructor Documentation

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

Definition at line 435 of file tree.h.

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

Definition at line 338 of file tree_new.h.

Member Function Documentation

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

Definition at line 340 of file tree_new.h.

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

Definition at line 437 of file tree.h.

Member Data Documentation

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

Definition at line 442 of file tree.h.


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


mtt
Author(s): Jorge Almeida
autogenerated on Mon Mar 2 2015 01:32:19