#include <cgns++.h>
Inherits CGNS::Node.
Inheritance diagram for CGNS::IndexArray:
Public Types | |
typedef int | INT_t |
enum | DataType { INT } |
Public Methods | |
int | getNumDimensions () const |
int | getDimension (int iNth) const |
void | setDimensions (int iNumDimensions, int const *iDimensions) |
void | setDimensions (int iDimension) |
void | setDimensions (int iDim1, int iDim2) |
void | setDimensions (int iDim1, int iDim2, int iDim3) |
DataType | getDataType () const |
void | setDataTypeDimensions (DataType iType, int iNumDimensions, int const *iDimensions) |
void | setDataTypeDimensions (DataType iType, int iDimension) |
void | setDataTypeDimensions (DataType iType, int iDim1, int iDim2) |
void | setDataTypeDimensions (DataType iType, int iDim1, int iDim2, int iDim3) |
void | readData (INT_t *oData) const |
void | readData (StridedRange1D iDiskStride, INT_t *oData, StridedRange1D iMemoryStride) const |
void | readData (StridedRange2D iDiskStride, INT_t *oData, StridedRange2D iMemoryStride) const |
void | readData (StridedRange3D iDiskStride, INT_t *oData, StridedRange3D iMemoryStride) const |
void | writeData (INT_t const *iData) |
IndexArray (Private::IndexArray *iImpl) |
|
|
|
The different data types a DataArray node may contain. |
|
Creates this data array from implementation data. |
|
Gets the data type used in this DataArray. |
|
Gets the size of the nth dimension. |
|
Gets the number of dimensions. |
|
|
|
|
|
Reads the data from disk, with strides and possibly conversion. |
|
Reads the data from disk, possibly with conversion. |
|
Sets data type and three dimensions at once. |
|
Sets data type and two dimensions at once. |
|
Sets data type and a single one dimension at once. |
|
Sets data type and all dimensions at once. |
|
Sets three dimensions. |
|
Sets two dimensions. |
|
Sets a single one. |
|
Sets all dimensions at once. |
|
Writes the data to disk. |