3#include "buffer_base.hpp"
18 Buffer(HandleGuard<BufferBase>&& guard, PrivateTag)
21 if (!CVB_CALL_CAPI(CVCIsBuffer(
Handle())))
31 return std::make_shared<Buffer>(std::move(guard), PrivateTag{});
Base class of all buffers.
Definition: buffer_base.hpp:22
void * Handle() const noexcept
Classic API buffer handle.
Definition: buffer_base.hpp:39
Buffer class implementing a buffer.
Definition: buffer.hpp:14
static BufferPtr FromHandle(HandleGuard< BufferBase > &&guard)
Creates a buffer from a classic API handle.
Definition: buffer.hpp:29
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24