@Immutable public static final class StructureMembers.Member extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ArrayType |
getArrayType()
Get the DataType.
|
ByteOrder |
getByteOrder()
The ByteOrder used when storing in StructureDataStorageBB.
|
String |
getDescription()
Get the description, if any.
|
int |
getIndex()
Get the index in the Members list.
|
String |
getName()
Get the StructureMember's name.
|
int |
getOffset()
The offset from the start of th STructure, used when storing in StructureDataStorageBB.
|
int[] |
getShape()
Get the array shape.
|
int |
getStorageSizeBytes()
Get the total size in bytes needed for storing the data in this Member.
|
StructureMembers |
getStructureMembers()
Get nested StructureMembers, if this is a Structure or Sequence.
|
int |
getStructureSize()
Convenience method for members.getStorageSizeBytes().
|
String |
getUnitsString()
Get the units string, if any.
|
int |
hashCode() |
boolean |
isScalar()
Is this a scalar (size == 1).
|
boolean |
isVlen()
If its a variable length array.
|
int |
length()
Get the total number of elements.
|
StructureMembers.MemberBuilder |
toBuilder()
Turn into a mutable Builder.
|
String |
toString() |
public StructureMembers.MemberBuilder toBuilder()
@Nullable public StructureMembers getStructureMembers()
public String getName()
public ArrayType getArrayType()
public int getIndex()
public int[] getShape()
public int length()
public boolean isVlen()
public ByteOrder getByteOrder()
public int getOffset()
public int getStorageSizeBytes()
public int getStructureSize()
public boolean isScalar()