opensurgsim
|
Abstract base class for data stored in a Tree. More...
#include <TreeData.h>
Public Member Functions | |
TreeData () | |
Constructor. | |
virtual | ~TreeData () |
Destructor. | |
bool | 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&). More... | |
bool | operator!= (const TreeData &data) const |
Returns true if the data are not equal; otherwise, returns false. More... | |
Abstract base class for data stored in a Tree.
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&).
data | Other TreeData for comparison. |
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&).
data | Other TreeData for comparison. |