14 #error This is a C++ include file and cannot be used from plain C
23 #include "cpl_array.h"
57 explicit Array(cpl_size length);
95 inline cpl_size
GetSize()
const;
98 void Set(
int index,
double value);
99 double Get(
int index);
cpl_array * m_cpl_array
CPL array object.
Definition: array.hpp:136
cpl_size GetSize() const
Get array size.
friend std::ostream & operator<<(std::ostream &os, const Array &array)
Overload operator<<.
Definition: array.cpp:77
void SetCplArray(cpl_array *array)
Set CPL array.
This class handle the errors produced by the calling of image processing routines.
Definition: error.hpp:34
Array()
Class constructor.
Definition: array.cpp:19
double Get(int index)
Definition: array.cpp:51
This class is C++ wrapper for a CPL array object. It provides a simplified interface to the INS softw...
Definition: array.hpp:39
cpl_array * GetCplArray() const
Get CPL array pointer.
~Array()
Class destructor.
Definition: array.cpp:47
double * GetData()
Get pointer to array data buffer.
bool IsArray() const
Check is CPL array is not null.
void Set(int index, double value)
Definition: array.cpp:60