OpenWalnut  1.3.1
Public Member Functions | Public Attributes | List of all members
compValue Struct Reference

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

#include <WHierarchicalTree.h>

Public Member Functions

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

Public Attributes

WHierarchicalTreem_tree
 stores pointer to tree we work on More...
 

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: