16 #ifndef SURGSIM_DATASTRUCTURES_TREEDATA_H 17 #define SURGSIM_DATASTRUCTURES_TREEDATA_H 24 namespace DataStructures
65 #endif // SURGSIM_DATASTRUCTURES_TREEDATA_H Definition: DriveElementFromInputBehavior.cpp:27
virtual ~TreeData()
Destructor.
Definition: TreeData.cpp:25
virtual bool isEqual(const TreeData *data) const =0
Returns true if the trees are equal; otherwise, returns false.
bool operator==(const TreeData &data) const
If the data are not of the same type, returns false; otherwise, compares with the implementation of i...
Definition: TreeData.cpp:29
TreeData()
Constructor.
Definition: TreeData.cpp:22
Abstract base class for data stored in a Tree.
Definition: TreeData.h:29
bool operator!=(const TreeData &data) const
Returns true if the data are not equal; otherwise, returns false.
Definition: TreeData.cpp:34