This class is C++ wrapper for a CPL array object. It provides a simplified interface to the INS software.
More...
#include <array.hpp>
This class is C++ wrapper for a CPL array object. It provides a simplified interface to the INS software.
Array - CPL array wrapper class
- See Also
- CPL Reference: http://www.eso.org/observing/cpl/reference_3.0/ or above
Class constructor.
- Returns
- none
odp::Array::Array |
( |
cpl_size |
length | ) |
|
|
explicit |
Class constructor.
- Returns
- none
odp::Array::Array |
( |
const Array & |
array | ) |
|
|
explicit |
Copy constructor.
- Parameters
-
[in] | array | Reference to the array to be copied |
- Returns
- none
Class destructor.
- Returns
- none
double odp::Array::Get |
( |
int |
index | ) |
|
cpl_array* odp::Array::GetCplArray |
( |
| ) |
const |
|
inline |
Get CPL array pointer.
- Returns
- CPL array pointer
double* odp::Array::GetData |
( |
| ) |
|
|
inline |
Get pointer to array data buffer.
- Returns
- Pointer to the data buffer
cpl_size odp::Array::GetSize |
( |
| ) |
const |
|
inline |
Get array size.
- Returns
- Array size
bool odp::Array::IsArray |
( |
| ) |
const |
|
inline |
Check is CPL array is not null.
- Returns
- TRUE is CPL array is not null, FALSE otherwise.
void odp::Array::Set |
( |
int |
index, |
|
|
double |
value |
|
) |
| |
void odp::Array::SetCplArray |
( |
cpl_array * |
array | ) |
|
|
inline |
Set CPL array.
- Parameters
-
- Returns
- none
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Array & |
array |
|
) |
| |
|
friend |
Overload operator<<.
- Parameters
-
[in] | os | Output stream |
[in] | array | Array to be dumped into the output stream. |
- Returns
- Reference to the output stream
cpl_array* odp::Array::m_cpl_array |
|
protected |
The documentation for this class was generated from the following files: