opensurgsim
Public Member Functions | List of all members
MockEdgeData Class Reference

Edge data for testing, storing ID. More...

#include <MockObjects.h>

Public Member Functions

 MockEdgeData (size_t id)
 Constructor. More...
 
 MockEdgeData ()
 Constructor.
 
virtual ~MockEdgeData ()
 Destructor.
 
size_t getId () const
 Gets the edge's unique ID in its mesh.
 
bool operator== (const MockEdgeData &data) const
 Compare the edge data to another one (equality) More...
 

Detailed Description

Edge data for testing, storing ID.

Constructor & Destructor Documentation

§ MockEdgeData()

MockEdgeData::MockEdgeData ( size_t  id)
inlineexplicit

Constructor.

Parameters
idUnique ID of the edge in its mesh

Member Function Documentation

§ operator==()

bool MockEdgeData::operator== ( const MockEdgeData data) const
inline

Compare the edge data to another one (equality)

Parameters
dataThe MockEdgeData to compare it to
Returns
True if the two edge data are equal, False otherwise

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