Moveable

Abstract base class for objects that can be moved.

Defined in Rodin/Moveable.h

class Moveable;

This class defines an interface for polymorphic moving of objects. Classes that inherit from this interface must implement the move() method to provide transfer of ownership functionality.

Direct inheritance by class family
Moveable
↓

Derived classes

Derived classDescription
Geometry::IndexGeneratorBasepublic
Full type
Geometry::IndexGeneratorBase
Abstract base class for index generators.

Public functions

auto move() -> Moveable* pure virtual noexcept
Moves this object and transfers ownership.

Function documentation

Moveable* move() pure virtual noexcept

Moves this object and transfers ownership.

Returns Pointer to this object after the move operation. The caller assumes ownership responsibility.