Public Member Functions | List of all members
IArray Class Referenceabstract

Array interface. More...

#include <cvb/iarray.hpp>

Inherited by ImagePlane, and Plane.

Public Member Functions

virtual void * Handle () const noexcept=0
 Classic API image handle. More...
 
virtual class DataType DataType () const noexcept=0
 Data type descriptor for this array. More...
 
virtual int Rank () const noexcept=0
 Gets the number of dimensions for this array. More...
 

Detailed Description

Array interface.

An array defines the common concept of ImagePlane and Plane.

Member Function Documentation

◆ DataType()

virtual class DataType DataType ( ) const
pure virtualnoexcept

Data type descriptor for this array.

Returns
The data type descriptor.
Exceptions
Doesnot throw any exception.

Implemented in ImagePlane, and Plane.

◆ Handle()

virtual void* Handle ( ) const
pure virtualnoexcept

Classic API image handle.

Returns
Classic API handle.
Exceptions
Doesnot throw any exception.

It is normally not necessary to work with this handle.

Implemented in Plane, and ImagePlane.

◆ Rank()

virtual int Rank ( ) const
pure virtualnoexcept

Gets the number of dimensions for this array.

Returns
The rank
Exceptions
Doesnot throw any exception.

Implemented in ImagePlane, and Plane.