OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes
compValue Struct Reference

implements a compare operator for clusters, depending on custom value of the cluster More...

#include <WHierarchicalTree.h>

List of all members.

Public Member Functions

 compValue (WHierarchicalTree *tree)
 constructor
bool operator() (const size_t lhs, const size_t rhs) const
 compares two clusters

Public Attributes

WHierarchicalTreem_tree
 stores pointer to tree we work on

Detailed Description

implements a compare operator for clusters, depending on custom value of the cluster

Definition at line 328 of file WHierarchicalTree.h.


Constructor & Destructor Documentation

compValue::compValue ( WHierarchicalTree tree)
inlineexplicit

constructor

Parameters:
tree

Definition at line 336 of file WHierarchicalTree.h.


Member Function Documentation

bool compValue::operator() ( const size_t  lhs,
const size_t  rhs 
) const
inline

compares two clusters

Parameters:
lhs
rhs
Returns:
bool

Definition at line 346 of file WHierarchicalTree.h.

References WHierarchicalTree::getCustomData(), and m_tree.


Member Data Documentation

WHierarchicalTree* compValue::m_tree

stores pointer to tree we work on

Definition at line 330 of file WHierarchicalTree.h.

Referenced by operator()().


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