13#error This is a C++ include file and cannot be used from plain C
56 explicit Array(cpl_size length);
97 void Set(
int index,
double value);
98 double Get(
int index);
~Array()
Class destructor.
Definition array.cpp:42
bool IsArray() const
Check is CPL array is not null.
Array()
Class constructor.
Definition array.cpp:16
friend std::ostream & operator<<(std::ostream &os, const Array &array)
Overload operator<<.
Definition array.cpp:70
void Set(int index, double value)
Definition array.cpp:54
double * GetData()
Get pointer to array data buffer.
cpl_size GetSize() const
Get array size.
double Get(int index)
Definition array.cpp:46
cpl_array * m_cpl_array
CPL array object.
Definition array.hpp:135
void SetCplArray(cpl_array *array)
Set CPL array.
cpl_array * GetCplArray() const
Get CPL array pointer.
This class handle the errors produced by the calling of image processing routines.
Definition error.hpp:34
Array class source file.
Definition array.cpp:14