public static class StructureMembers.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
StructureMembers.Builder |
addMember(int pos,
StructureMembers.MemberBuilder m) |
StructureMembers.MemberBuilder |
addMember(java.lang.String name,
java.lang.String desc,
java.lang.String units,
DataType dtype,
int[] shape) |
StructureMembers.Builder |
addMember(StructureMembers.MemberBuilder m) |
StructureMembers.MemberBuilder |
addMemberScalar(java.lang.String name,
java.lang.String desc,
java.lang.String units,
DataType dtype,
java.lang.Number val)
Add a Member, creating a scalar DataArray from the val.
|
StructureMembers.MemberBuilder |
addMemberString(java.lang.String name,
java.lang.String desc,
java.lang.String units,
java.lang.String val,
int max_len)
Add a Member, creating a CHAR DataArray from the String val.
|
StructureMembers |
build() |
boolean |
hasMember(java.lang.String memberName) |
StructureMembers.Builder |
setName(java.lang.String name) |
StructureMembers.Builder |
setStructureSize(int structureSize) |
public StructureMembers.Builder addMember(int pos, StructureMembers.MemberBuilder m)
public StructureMembers.MemberBuilder addMember(java.lang.String name, java.lang.String desc, java.lang.String units, DataType dtype, int[] shape)
public StructureMembers.Builder addMember(StructureMembers.MemberBuilder m)
public StructureMembers.MemberBuilder addMemberScalar(java.lang.String name, java.lang.String desc, java.lang.String units, DataType dtype, java.lang.Number val)
public StructureMembers.MemberBuilder addMemberString(java.lang.String name, java.lang.String desc, java.lang.String units, java.lang.String val, int max_len)
public StructureMembers build()
public boolean hasMember(java.lang.String memberName)
public StructureMembers.Builder setName(java.lang.String name)
public StructureMembers.Builder setStructureSize(int structureSize)