Abstract base class for data stored in a Tree.
More...
#include <SurgSim/DataStructures/TreeData.h>
|
virtual bool | isEqual (const TreeData *data) const =0 |
| Returns true if the trees are equal; otherwise, returns false. More...
|
|
Abstract base class for data stored in a Tree.
Each TreeNode has a pointer to a TreeData object.
- See also
- TreeNode Tree
◆ TreeData()
◆ ~TreeData()
◆ isEqual()
virtual bool SurgSim::DataStructures::TreeData::isEqual |
( |
const TreeData * |
data | ) |
const |
|
privatepure virtual |
Returns true if the trees are equal; otherwise, returns false.
Implement this method in derived classes to do the comparison.
- Parameters
-
- Returns
- true if the data are equal; otherwise, returns false.
Implemented in SurgSim::DataStructures::AabbTreeData.
◆ operator!=()
bool TreeData::operator!= |
( |
const TreeData & |
data | ) |
const |
Returns true if the data are not equal; otherwise, returns false.
If the data are not of the same type, returns false; otherwise, compares with the implementation of isEqual(const TreeData&).
- Parameters
-
- Returns
- true if the data are equal; otherwise, returns false.
◆ operator==()
bool TreeData::operator== |
( |
const TreeData & |
data | ) |
const |
If the data are not of the same type, returns false; otherwise, compares with the implementation of isEqual(const TreeData&).
- Parameters
-
- Returns
- true if the data are equal; otherwise, returns false.
The documentation for this class was generated from the following files: