@Namespace(value="H5") @NoOffset @Properties(inherit=hdf5.class) public class Attribute extends AbstractDs
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.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Attribute() |
Attribute(Attribute original) |
Attribute(long attr_id) |
Attribute(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and 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) |
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) |
BytePointer |
getName(long len) |
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,
BytePointer strg) |
void |
write(DataType mem_type,
Pointer buf) |
void |
write(DataType mem_type,
String strg) |
getArrayType, getCompType, getDataType, getEnumType, getFloatType, getIntType, getStrType, getTypeClass, getVarLenTypeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Attribute(Pointer p)
Pointer.Pointer(Pointer).public Attribute()
public H5Location asH5Location()
@Namespace @Name(value="static_cast<H5::H5Location*>") public static H5Location asH5Location(Attribute pointer)
@Cast(value="ssize_t") public long getName(@Cast(value="char*") BytePointer attr_name, @Cast(value="size_t") long buf_size)
@Cast(value="ssize_t") public long getName(@Cast(value="char*") BytePointer attr_name)
@Cast(value="ssize_t") public long getName(@Cast(value="char*") ByteBuffer attr_name, @Cast(value="size_t") long buf_size)
@Cast(value="ssize_t") public long getName(@Cast(value="char*") ByteBuffer attr_name)
@Cast(value="ssize_t") public long getName(@Cast(value="char*") byte[] attr_name, @Cast(value="size_t") long buf_size)
@StdString public BytePointer getName(@Cast(value="size_t") long len)
@StdString public BytePointer getName()
@ByVal public DataSpace getSpace()
AbstractDsgetSpace in class AbstractDs@Cast(value="hsize_t") public long getStorageSize()
AbstractDsgetStorageSize in class AbstractDs@Cast(value="size_t") public long getInMemDataSize()
AbstractDsgetInMemDataSize in class AbstractDspublic void read(@Const @ByRef DataType mem_type, @StdString @ByRef BytePointer strg)
public void write(@Const @ByRef DataType mem_type, @StdString BytePointer strg)
public void write(@Const @ByRef DataType mem_type, @StdString String strg)
@StdString public BytePointer fromClass()
fromClass in class AbstractDsCopyright © 2019. All rights reserved.