Example #1
0
 virtual bool operator==(Structure const& rhs) const
 {
     return id_ == rhs.id();
 }
Example #2
0
 // virtual bool operator==(Structure<typename Ttraits_::world_type::traits_type> const& rhs) const
 virtual bool operator==(Structure<Ttraits_> const& rhs) const
 {
     BasicSurfaceImpl const* _rhs(dynamic_cast<BasicSurfaceImpl const*>(&rhs));
     return _rhs && base_type::id_ == rhs.id() && shape_ == _rhs->shape();
 }