PandA-2024.02
Public Member Functions
TreeNodeSorter Class Reference

A set of tree node. More...

#include <tree_node.hpp>

Inheritance diagram for TreeNodeSorter:
Inheritance graph
[legend]
Collaboration diagram for TreeNodeSorter:
Collaboration graph
[legend]

Public Member Functions

 TreeNodeSorter ()
 Constructor. More...
 
bool operator() (const tree_nodeRef &x, const tree_nodeRef &y) const
 Compare position of two const tree nodes. More...
 

Detailed Description

A set of tree node.

Definition at line 294 of file tree_node.hpp.

Constructor & Destructor Documentation

◆ TreeNodeSorter()

TreeNodeSorter::TreeNodeSorter ( )
default

Constructor.

Referenced by TreeNodeConstSorter::operator()().

Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

bool TreeNodeSorter::operator() ( const tree_nodeRef x,
const tree_nodeRef y 
) const

Compare position of two const tree nodes.

Parameters
xis the first tree node
yis the second tree node
Returns
true if index of x is less than y

Definition at line 1633 of file tree_node.cpp.

References tree_node::index.


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

Generated on Mon Feb 12 2024 13:04:08 for PandA-2024.02 by doxygen 1.8.13