Package org.bytedeco.hdf5
Class Attribute
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.hdf5.AbstractDs
-
- org.bytedeco.hdf5.Attribute
-
- All Implemented Interfaces:
AutoCloseable
@Namespace("H5") @NoOffset @Properties(inherit=hdf5.class) public class Attribute extends AbstractDs
\class Attribute \brief Class Attribute operates on HDF5 attributes.An attribute has many characteristics similar to a dataset, thus both Attribute and DataSet are derivatives of AbstractDs. Attribute also inherits from H5Location because an attribute can be used to specify a location.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_close()
H5Location
asH5Location()
static H5Location
asH5Location(Attribute pointer)
BytePointer
fromClass()
\brief Returns this class name.long
getId()
long
getInMemDataSize()
\brief Gets the size in memory of this abstract dataset.BytePointer
getName()
long
getName(byte[] attr_name)
long
getName(byte[] attr_name, long buf_size)
BytePointer
getName(long len)
long
getName(ByteBuffer attr_name)
long
getName(ByteBuffer attr_name, long buf_size)
long
getName(BytePointer attr_name)
long
getName(BytePointer attr_name, long buf_size)
DataSpace
getSpace()
\brief Gets the dataspace of this abstract dataset - pure virtual.long
getStorageSize()
\brief Returns the amount of storage size required - pure virtual.void
read(DataType mem_type, BytePointer strg)
void
read(DataType mem_type, Pointer buf)
void
write(DataType mem_type, String strg)
void
write(DataType mem_type, BytePointer strg)
void
write(DataType mem_type, Pointer buf)
-
Methods inherited from class org.bytedeco.hdf5.AbstractDs
getArrayType, getCompType, getDataType, getEnumType, getFloatType, getIntType, getStrType, getTypeClass, getVarLenType
-
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
-
-
-
-
Method Detail
-
asH5Location
public H5Location asH5Location()
-
asH5Location
@Namespace @Name("static_cast<H5::H5Location*>") public static H5Location asH5Location(Attribute pointer)
-
_close
@Name("close") public void _close()
-
getName
@Cast("ssize_t") public long getName(@Cast("char*") BytePointer attr_name, @Cast("size_t") long buf_size)
-
getName
@Cast("ssize_t") public long getName(@Cast("char*") BytePointer attr_name)
-
getName
@Cast("ssize_t") public long getName(@Cast("char*") ByteBuffer attr_name, @Cast("size_t") long buf_size)
-
getName
@Cast("ssize_t") public long getName(@Cast("char*") ByteBuffer attr_name)
-
getName
@Cast("ssize_t") public long getName(@Cast("char*") byte[] attr_name, @Cast("size_t") long buf_size)
-
getName
@StdString public BytePointer getName(@Cast("size_t") long len)
-
getName
@StdString public BytePointer getName()
-
getSpace
@ByVal public DataSpace getSpace()
Description copied from class:AbstractDs
\brief Gets the dataspace of this abstract dataset - pure virtual.- Overrides:
getSpace
in classAbstractDs
-
getStorageSize
@Cast("hsize_t") public long getStorageSize()
Description copied from class:AbstractDs
\brief Returns the amount of storage size required - pure virtual.- Overrides:
getStorageSize
in classAbstractDs
-
getInMemDataSize
@Cast("size_t") public long getInMemDataSize()
Description copied from class:AbstractDs
\brief Gets the size in memory of this abstract dataset.- Overrides:
getInMemDataSize
in classAbstractDs
-
read
public void read(@Const @ByRef DataType mem_type, @StdString @ByRef BytePointer strg)
-
write
public void write(@Const @ByRef DataType mem_type, @StdString BytePointer strg)
-
write
public void write(@Const @ByRef DataType mem_type, @StdString String strg)
-
fromClass
@StdString public BytePointer fromClass()
\brief Returns this class name.- Overrides:
fromClass
in classAbstractDs
-
getId
@Cast("hid_t") public long getId()
-
-