brief This class can be used to create 2D arrays of type Element<E>.
- Author
- Kalpathi Subramanian, Matthew McQuaigue
- Date
- 10816, 51717, 53018
This class can be used to create arrays of type Element<E> where E is a generic object representing application specific data.
Arrays are internally represented as 1D arrays; currently 1D, 2D and 3D arrays are supported.
Example Tutorial at: http:bridgesuncc.github.iotutorialsArray.html (1D, 2D, and 3D Array)
|
| def | __init__ (self, rows=None, cols=None) |
| | Create an array object with the specified dimensions. More...
|
| |
| def | __init__ (self, kwargs) |
| | Array constructor. More...
|
| |
| def | num_dims (self) |
| | Getter for representing the number of dimensions in the array. More...
|
| |
| def | num_dims |
| | Setter function for the number of dimensions for the array. More...
|
| |
| def | size (self) |
| | Getter for representing the size of array. More...
|
| |
| def | size |
| | Setter for representing the size of the array. More...
|
| |
| def | set_size |
| | Set the size of each dimensions; also allocates array space. More...
|
| |
| def | get_data_structure_type (self) |
| | Gets the data structure type. More...
|
| |
| def | get_dimensions (self) |
| | Get the size of each dimensions. More...
|
| |
| def | get_element (self, args, kwargs) |
| | Getter function for an element in the array at given position. More...
|
| |
| def | set_element (self, args, kwargs) |
| | Setter function for an element in the array at given position. More...
|
| |
| def | __getitem__ (self, item) |
| |
| def | __setitem__ (self, key, value) |
| |
| def | get_data_structure_representation (self) |
| | Generating the JSON string for a bridges array object. More...
|
| |