CVB++ 15.0
iarray.hpp
1#pragma once
2
3#include "global.hpp"
4
5namespace Cvb
6{
7
8 CVB_BEGIN_INLINE_NS
9
11
15 class IArray
16 {
17 protected:
18 IArray() noexcept = default;
19 IArray(IArray &&other) noexcept = default;
20 IArray &operator=(IArray &&other) noexcept = default;
21
22 public:
23 IArray(const IArray &other) = delete;
24 IArray &operator=(const IArray &other) = delete;
25 virtual ~IArray() = default;
26
28
34 virtual void *Handle() const noexcept = 0;
35
37
41 virtual class DataType DataType() const noexcept = 0;
42
44
48 virtual int Rank() const noexcept = 0;
49 };
50
51 CVB_END_INLINE_NS
52
53} // namespace Cvb
virtual int Rank() const noexcept=0
Gets the number of dimensions for this array.
virtual void * Handle() const noexcept=0
Classic API image handle.
virtual class DataType DataType() const noexcept=0
Data type descriptor for this array.
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17