diff options
Diffstat (limited to 'include/gras/element.hpp')
-rw-r--r-- | include/gras/element.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gras/element.hpp b/include/gras/element.hpp index 0bebc14..40a24cf 100644 --- a/include/gras/element.hpp +++ b/include/gras/element.hpp @@ -31,6 +31,12 @@ struct GRAS_API Element : ElementBase, boost::enable_shared_from_this<Element> /*virtual*/ ~Element(void); + /*! + * Check if another element is the same as this one. + * \return true if the rhs is the same as *this. + */ + bool equals(const Element &rhs); + /******************************************************************* * identification interface ******************************************************************/ |