![]() |
IOLink C# 1.16.1
|
A look-up table. More...
Public Member Functions | |
| LookUpTable (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| LookUpTable (DataType dtype, byte[] data, uint count) | |
| Build a new Look Up Table object from a byte array. | |
| void | Read< T > (uint offset, T[] dst, uint count) |
| Read data from the look-up table. | |
| LookUpTable () | |
| Build an empty look-up table. | |
| LookUpTable (DataType dtype, uint count) | |
| Build an uninitialized look-up table. | |
| LookUpTable (LookUpTable other) | |
| DataType | Dtype () |
| Get the data type of the look-up table. | |
| uint | Count () |
| Get the number of values in the look-up table. | |
| unsafe void | Read (uint offset, byte[] dst, uint count) |
| Read data from the look-up table. | |
Static Public Member Functions | |
| static global::System.Runtime.InteropServices.HandleRef | getCPtr (LookUpTable obj) |
| static global::System.Runtime.InteropServices.HandleRef | swigRelease (LookUpTable obj) |
| static LookUpTable | FromArray< T > (DataType dtype, T[] data, uint count) |
| Build a new Look Up Table object from an array. | |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Protected Attributes | |
| bool | swigCMemOwn |
A look-up table.
A read only look-up table consisting of a data type, a number of elements, and a buffer of data.
|
inline |
Build a new Look Up Table object from a byte array.
| dtype | The data type of the look-up table. |
| data | The source buffer to copy data from. |
| count | The number of values in the look-up table. |
|
inline |
Build an uninitialized look-up table.
| dtype | The data type of the look-up table. |
| count | The number of values in the look-up table. |
|
inlinestatic |
Build a new Look Up Table object from an array.
| T | The type of the array. |
| dtype | The data type of the look-up table. |
| data | The source buffer to copy data from. |
| count | The number of values in the look-up table. |
| System.ArgumentException | Invalid data type for LookUpTable |
|
inline |
Read data from the look-up table.
| offset | The offset in elements from the beginning of the look-up table. |
| dst | The destination buffer, where read data will be written. |
| count | The number of elements to read. |
| InvalidArgument | When the band of data to read is out of bounds. |
|
inline |
Read data from the look-up table.
| T | The type of the value to read. |
| offset | The offset in elements from the beginning of the look-up table. |
| dst | The destination buffer, where read data will be written. |
| count | The number of elements to read. |
| System.ArgumentException | Invalid data type for LookUpTable |