[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a new simple dataspace and opens it for access.
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function create_simple ( _ rank As Integer, _ dims As ULong(), _ maxDims As ULong() _ ) As H5DataSpaceId |
| C# |
|---|
public static H5DataSpaceId create_simple ( int rank, ulong[] dims, ulong[] maxDims ) |
| C++ |
|---|
public: static H5DataSpaceId^ create_simple ( int rank, array<unsigned long long>^ dims, array<unsigned long long>^ maxDims ) |
Parameters
- rank (Int32)
- Number of dimensions of dataspace.
- dims (UInt64[]())
- An array of the size of each dimension.
- maxDims (UInt64[]())
- An array of the maximum size of each dimension.
Remarks
H5Screate_simple creates a new simple dataspace and opens it for access.
rank is the number of dimensions used in the dataspace.
dims is an array specifying the size of each dimension of the dataset while maxdims is an array specifying the upper limit on the size of each dimension. maxdims may be the null pointer, in which case the upper limit is the same as dims.
If an element of maxdims is H5S_UNLIMITED, (-1), the maximum size of the corresponding dimension is unlimited. Otherwise, no element of maxdims should be smaller than the corresponding element of dims.
The dataspace identifier returned from this function must be released with H5Sclose or resource leaks will occur.