1 #ifndef MATIOCPP_SHAREDMATVAR_H
2 #define MATIOCPP_SHAREDMATVAR_H
58 virtual matvar_t*
get()
const final;
~SharedMatvar()
Destructor.
virtual WeakMatvar weakOwnership() const final
Docs inherited.
virtual bool isShared() const final
Docs inherited.
virtual bool importMatvar(matvar_t *inputPtr) final
Docs inherited.
static SharedMatvar GetMatvarShallowDuplicate(const matvar_t *inputPtr)
Get the shallow duplicate of an input Matvar.
SharedMatvar()
Default constructor.
virtual void dropOwnedPointer(matvar_t *previouslyOwnedPointer) final
Docs inherited.
std::weak_ptr< MatvarHandler::Ownership > ownership() const
Get a weak_ptr to the ownership.
virtual matvar_t * get() const final
Docs inherited.
virtual MatvarHandler * pointerToDuplicate() const final
Docs inherited.
virtual bool duplicateMatvar(const matvar_t *inputPtr) final
Docs inherited.
SharedMatvar & operator=(const SharedMatvar &other)
Copy assignement.