39 template <
class _GeomObject>
90 #include "common/abstract/HoldsGeomObject.tpp"
For objects that have pointers to either a node or a cell.
CepsBool m_owned
Is the geom object owned by current CPU.
HoldsGeomObject(_GeomObject *object=nullptr, CepsBool owned=false)
Constructor with ID.
HoldsGeomObject(HoldsGeomObject &&) noexcept=default
Copy constructor.
_GeomObject * getProperties() const
Get the properties (in fact it's just the geom object)
virtual void setGeomObject(_GeomObject *object, CepsBool owned)
Set the geom object.
void reset()
Set the geom object pointer to nullptr.
HoldsGeomObject(const HoldsGeomObject &)=default
Copy constructor.
_GeomObject * m_gObject
Ptr to the object.
_GeomObject * getGeomObject() const
Get the geom object.
A namespace for all utility methods.