CVB++ 15.0
iarray.hpp
1#pragma once
2
3#include "global.hpp"
4
5namespace Cvb
6{
7
8CVB_BEGIN_INLINE_NS
9
11
15class IArray
16{
17protected:
18 IArray() noexcept = default;
19 IArray(IArray&& other) noexcept = default;
20 IArray& operator=(IArray&& other) noexcept = default;
21
22public:
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
43
45
49 virtual int Rank() const noexcept = 0;
50
51
52};
53
54CVB_END_INLINE_NS
55
56}
Data type description for an image plane.
Definition: data_type.hpp:28
Array interface.
Definition: iarray.hpp:16
virtual int Rank() const noexcept=0
Gets the number of dimensions for this array.
virtual void * Handle() const noexcept=0
Classic API image handle.
Root namespace for the Image Manager interface.
Definition: c_barcode.h:15