Package org.bytedeco.hdf5
Class DataSpace
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.hdf5.IdComponent
-
- org.bytedeco.hdf5.DataSpace
-
- All Implemented Interfaces:
AutoCloseable
@Namespace("H5") @NoOffset @Properties(inherit=hdf5.class) public class DataSpace extends IdComponent
\class DataSpace \brief Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description DataSpace()
DataSpace(int type)
DataSpace(int rank, long... dims)
DataSpace(int rank, long[] dims, long... maxdims)
DataSpace(int rank, LongBuffer dims)
DataSpace(int rank, LongBuffer dims, LongBuffer maxdims)
DataSpace(int rank, LongPointer dims)
DataSpace(int rank, LongPointer dims, LongPointer maxdims)
DataSpace(long space_id)
DataSpace(DataSpace original)
DataSpace(Pointer p)
Pointer cast constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_close()
static DataSpace
ALL()
\brief Default DataSpace objectsvoid
copy(DataSpace like_space)
static void
deleteConstants()
void
extentCopy(DataSpace dest_space)
BytePointer
fromClass()
\brief Returns this class name.long
getId()
void
getSelectBounds(long[] start, long... end)
void
getSelectBounds(LongBuffer start, LongBuffer end)
void
getSelectBounds(LongPointer start, LongPointer end)
long
getSelectElemNpoints()
void
getSelectElemPointlist(long startpoint, long numpoints, long... buf)
void
getSelectElemPointlist(long startpoint, long numpoints, LongBuffer buf)
void
getSelectElemPointlist(long startpoint, long numpoints, LongPointer buf)
void
getSelectHyperBlocklist(long startblock, long numblocks, long... buf)
void
getSelectHyperBlocklist(long startblock, long numblocks, LongBuffer buf)
void
getSelectHyperBlocklist(long startblock, long numblocks, LongPointer buf)
long
getSelectHyperNblocks()
long
getSelectNpoints()
int
getSimpleExtentDims(long... dims)
int
getSimpleExtentDims(long[] dims, long... maxdims)
int
getSimpleExtentDims(LongBuffer dims)
int
getSimpleExtentDims(LongBuffer dims, LongBuffer maxdims)
int
getSimpleExtentDims(LongPointer dims)
int
getSimpleExtentDims(LongPointer dims, LongPointer maxdims)
int
getSimpleExtentNdims()
long
getSimpleExtentNpoints()
int
getSimpleExtentType()
boolean
isSimple()
void
offsetSimple(long... offset)
void
offsetSimple(LongBuffer offset)
void
offsetSimple(LongPointer offset)
DataSpace
put(DataSpace rhs)
void
selectAll()
void
selectElements(int op, long num_elements, long... coord)
void
selectElements(int op, long num_elements, LongBuffer coord)
void
selectElements(int op, long num_elements, LongPointer coord)
void
selectHyperslab(int op, long[] count, long... start)
void
selectHyperslab(int op, long[] count, long[] start, long[] stride, long... block)
void
selectHyperslab(int op, LongBuffer count, LongBuffer start)
void
selectHyperslab(int op, LongBuffer count, LongBuffer start, LongBuffer stride, LongBuffer block)
void
selectHyperslab(int op, LongPointer count, LongPointer start)
void
selectHyperslab(int op, LongPointer count, LongPointer start, LongPointer stride, LongPointer block)
void
selectNone()
boolean
selectValid()
void
setExtentNone()
void
setExtentSimple(int rank, long... current_size)
void
setExtentSimple(int rank, long[] current_size, long... maximum_size)
void
setExtentSimple(int rank, LongBuffer current_size)
void
setExtentSimple(int rank, LongBuffer current_size, LongBuffer maximum_size)
void
setExtentSimple(int rank, LongPointer current_size)
void
setExtentSimple(int rank, LongPointer current_size, LongPointer maximum_size)
-
Methods inherited from class org.bytedeco.hdf5.IdComponent
decRefCount, decRefCount, getCounter, getCounter, getHDFObjType, getHDFObjType, getNumMembers, incRefCount, incRefCount, inMemFunc, inMemFunc, isValid, put, setId, typeExists
-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
DataSpace
public DataSpace(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer)
.
-
DataSpace
public DataSpace(@Cast("H5S_class_t") int type)
-
DataSpace
public DataSpace()
-
DataSpace
public DataSpace(int rank, @Cast("const hsize_t*") LongPointer dims, @Cast("const hsize_t*") LongPointer maxdims)
-
DataSpace
public DataSpace(int rank, @Cast("const hsize_t*") LongPointer dims)
-
DataSpace
public DataSpace(int rank, @Cast("const hsize_t*") LongBuffer dims, @Cast("const hsize_t*") LongBuffer maxdims)
-
DataSpace
public DataSpace(int rank, @Cast("const hsize_t*") LongBuffer dims)
-
DataSpace
public DataSpace(int rank, @Cast("const hsize_t*") long[] dims, @Cast("const hsize_t*") long... maxdims)
-
DataSpace
public DataSpace(int rank, @Cast("const hsize_t*") long... dims)
-
DataSpace
public DataSpace(@Cast("const hid_t") long space_id)
-
-
Method Detail
-
ALL
@MemberGetter @Const @ByRef public static DataSpace ALL()
\brief Default DataSpace objects
-
_close
@Name("close") public void _close()
- Overrides:
_close
in classIdComponent
-
getSelectBounds
public void getSelectBounds(@Cast("hsize_t*") LongPointer start, @Cast("hsize_t*") LongPointer end)
-
getSelectBounds
public void getSelectBounds(@Cast("hsize_t*") LongBuffer start, @Cast("hsize_t*") LongBuffer end)
-
getSelectBounds
public void getSelectBounds(@Cast("hsize_t*") long[] start, @Cast("hsize_t*") long... end)
-
getSelectElemNpoints
@Cast("hssize_t") public long getSelectElemNpoints()
-
getSelectElemPointlist
public void getSelectElemPointlist(@Cast("hsize_t") long startpoint, @Cast("hsize_t") long numpoints, @Cast("hsize_t*") LongPointer buf)
-
getSelectElemPointlist
public void getSelectElemPointlist(@Cast("hsize_t") long startpoint, @Cast("hsize_t") long numpoints, @Cast("hsize_t*") LongBuffer buf)
-
getSelectElemPointlist
public void getSelectElemPointlist(@Cast("hsize_t") long startpoint, @Cast("hsize_t") long numpoints, @Cast("hsize_t*") long... buf)
-
getSelectHyperBlocklist
public void getSelectHyperBlocklist(@Cast("hsize_t") long startblock, @Cast("hsize_t") long numblocks, @Cast("hsize_t*") LongPointer buf)
-
getSelectHyperBlocklist
public void getSelectHyperBlocklist(@Cast("hsize_t") long startblock, @Cast("hsize_t") long numblocks, @Cast("hsize_t*") LongBuffer buf)
-
getSelectHyperBlocklist
public void getSelectHyperBlocklist(@Cast("hsize_t") long startblock, @Cast("hsize_t") long numblocks, @Cast("hsize_t*") long... buf)
-
getSelectHyperNblocks
@Cast("hssize_t") public long getSelectHyperNblocks()
-
getSelectNpoints
@Cast("hssize_t") public long getSelectNpoints()
-
getSimpleExtentDims
public int getSimpleExtentDims(@Cast("hsize_t*") LongPointer dims, @Cast("hsize_t*") LongPointer maxdims)
-
getSimpleExtentDims
public int getSimpleExtentDims(@Cast("hsize_t*") LongPointer dims)
-
getSimpleExtentDims
public int getSimpleExtentDims(@Cast("hsize_t*") LongBuffer dims, @Cast("hsize_t*") LongBuffer maxdims)
-
getSimpleExtentDims
public int getSimpleExtentDims(@Cast("hsize_t*") LongBuffer dims)
-
getSimpleExtentDims
public int getSimpleExtentDims(@Cast("hsize_t*") long[] dims, @Cast("hsize_t*") long... maxdims)
-
getSimpleExtentDims
public int getSimpleExtentDims(@Cast("hsize_t*") long... dims)
-
getSimpleExtentNdims
public int getSimpleExtentNdims()
-
getSimpleExtentNpoints
@Cast("hssize_t") public long getSimpleExtentNpoints()
-
getSimpleExtentType
@Cast("H5S_class_t") public int getSimpleExtentType()
-
isSimple
@Cast("bool") public boolean isSimple()
-
offsetSimple
public void offsetSimple(@Cast("const hssize_t*") LongPointer offset)
-
offsetSimple
public void offsetSimple(@Cast("const hssize_t*") LongBuffer offset)
-
offsetSimple
public void offsetSimple(@Cast("const hssize_t*") long... offset)
-
selectAll
public void selectAll()
-
selectElements
public void selectElements(@Cast("H5S_seloper_t") int op, @Cast("const size_t") long num_elements, @Cast("const hsize_t*") LongPointer coord)
-
selectElements
public void selectElements(@Cast("H5S_seloper_t") int op, @Cast("const size_t") long num_elements, @Cast("const hsize_t*") LongBuffer coord)
-
selectElements
public void selectElements(@Cast("H5S_seloper_t") int op, @Cast("const size_t") long num_elements, @Cast("const hsize_t*") long... coord)
-
selectHyperslab
public void selectHyperslab(@Cast("H5S_seloper_t") int op, @Cast("const hsize_t*") LongPointer count, @Cast("const hsize_t*") LongPointer start, @Cast("const hsize_t*") LongPointer stride, @Cast("const hsize_t*") LongPointer block)
-
selectHyperslab
public void selectHyperslab(@Cast("H5S_seloper_t") int op, @Cast("const hsize_t*") LongPointer count, @Cast("const hsize_t*") LongPointer start)
-
selectHyperslab
public void selectHyperslab(@Cast("H5S_seloper_t") int op, @Cast("const hsize_t*") LongBuffer count, @Cast("const hsize_t*") LongBuffer start, @Cast("const hsize_t*") LongBuffer stride, @Cast("const hsize_t*") LongBuffer block)
-
selectHyperslab
public void selectHyperslab(@Cast("H5S_seloper_t") int op, @Cast("const hsize_t*") LongBuffer count, @Cast("const hsize_t*") LongBuffer start)
-
selectHyperslab
public void selectHyperslab(@Cast("H5S_seloper_t") int op, @Cast("const hsize_t*") long[] count, @Cast("const hsize_t*") long[] start, @Cast("const hsize_t*") long[] stride, @Cast("const hsize_t*") long... block)
-
selectHyperslab
public void selectHyperslab(@Cast("H5S_seloper_t") int op, @Cast("const hsize_t*") long[] count, @Cast("const hsize_t*") long... start)
-
selectNone
public void selectNone()
-
selectValid
@Cast("bool") public boolean selectValid()
-
setExtentNone
public void setExtentNone()
-
setExtentSimple
public void setExtentSimple(int rank, @Cast("const hsize_t*") LongPointer current_size, @Cast("const hsize_t*") LongPointer maximum_size)
-
setExtentSimple
public void setExtentSimple(int rank, @Cast("const hsize_t*") LongPointer current_size)
-
setExtentSimple
public void setExtentSimple(int rank, @Cast("const hsize_t*") LongBuffer current_size, @Cast("const hsize_t*") LongBuffer maximum_size)
-
setExtentSimple
public void setExtentSimple(int rank, @Cast("const hsize_t*") LongBuffer current_size)
-
setExtentSimple
public void setExtentSimple(int rank, @Cast("const hsize_t*") long[] current_size, @Cast("const hsize_t*") long... maximum_size)
-
setExtentSimple
public void setExtentSimple(int rank, @Cast("const hsize_t*") long... current_size)
-
fromClass
@StdString public BytePointer fromClass()
\brief Returns this class name.- Overrides:
fromClass
in classIdComponent
-
getId
@Cast("hid_t") public long getId()
- Overrides:
getId
in classIdComponent
-
deleteConstants
public static void deleteConstants()
-
-