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