opensurgsim
Public Member Functions | List of all members
SurgSim::DataStructures::TreeData Class Referenceabstract

Abstract base class for data stored in a Tree. More...

#include <TreeData.h>

Inheritance diagram for SurgSim::DataStructures::TreeData:
SurgSim::DataStructures::AabbTreeData

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...
 

Detailed Description

Abstract base class for data stored in a Tree.

Each TreeNode has a pointer to a TreeData object.

See also
TreeNode Tree

Member Function Documentation

§ 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
dataOther TreeData for comparison.
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
dataOther TreeData for comparison.
Returns
true if the data are equal; otherwise, returns false.

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