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()H5LocationasH5Location()static H5LocationasH5Location(Attribute pointer)BytePointerfromClass()\brief Returns this class name.longgetId()longgetInMemDataSize()\brief Gets the size in memory of this abstract dataset.BytePointergetName()longgetName(byte[] attr_name)longgetName(byte[] attr_name, long buf_size)BytePointergetName(long len)longgetName(ByteBuffer attr_name)longgetName(ByteBuffer attr_name, long buf_size)longgetName(BytePointer attr_name)longgetName(BytePointer attr_name, long buf_size)DataSpacegetSpace()\brief Gets the dataspace of this abstract dataset - pure virtual.longgetStorageSize()\brief Returns the amount of storage size required - pure virtual.voidread(DataType mem_type, BytePointer strg)voidread(DataType mem_type, Pointer buf)voidwrite(DataType mem_type, String strg)voidwrite(DataType mem_type, BytePointer strg)voidwrite(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:
getSpacein classAbstractDs
-
getStorageSize
@Cast("hsize_t") public long getStorageSize()
Description copied from class:AbstractDs\brief Returns the amount of storage size required - pure virtual.- Overrides:
getStorageSizein classAbstractDs
-
getInMemDataSize
@Cast("size_t") public long getInMemDataSize()
Description copied from class:AbstractDs\brief Gets the size in memory of this abstract dataset.- Overrides:
getInMemDataSizein 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:
fromClassin classAbstractDs
-
getId
@Cast("hid_t") public long getId()
-
-