#include <xsi_dataarray2D.h>
Public Member Functions |
|
| Accessor () | |
| Accessor (const Accessor &in_accessor) | |
| Accessor & | operator= (const Accessor &in_accessor) |
| const bool | operator[] (ULONG in_index) const |
| CStatus | Set (ULONG in_index, bool in_bVal) |
| ULONG | GetCount () const |
| Accessor | ( | ) | [inline] |
Constructor.
| Accessor | ( | const Accessor & | in_accessor | ) | [inline] |
Constructs an Accessor object from another Accessor object.
| in_accessor | constant Accessor object. |
| Accessor& operator= | ( | const Accessor & | in_accessor | ) | [inline] |
Assignment operator.
| in_accessor | constant class object. |
| const bool operator[] | ( | ULONG | in_index | ) | const [inline] |
Accessor to elements at a given index. This operator is called when reading the data so the return value is read-only.
| in_index | Index in the array. The index must be smaller than the number of elements in the array, otherwise the results are unpredicted. |
| CStatus Set | ( | ULONG | in_index, | |
| bool | in_bVal | |||
| ) | [inline] |
Sets the array at a given index with a value.
| in_index | Index in the array. The index must be smaller than the number of elements in the array, otherwise the results are unpredicted. | |
| in_bVal | Value to set. |
| ULONG GetCount | ( | void | ) | const [inline] |
Returns the number of elements in the array.