public class StructureDataW extends StructureData
EMPTY
Constructor and Description |
---|
StructureDataW(StructureMembers members)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
convertScalarDouble(StructureMembers.Member m)
Get scalar value as a double, with conversion as needed.
|
float |
convertScalarFloat(StructureMembers.Member m)
Get scalar value as a float, with conversion as needed.
|
int |
convertScalarInt(StructureMembers.Member m)
Get scalar value as a int, with conversion as needed.
|
long |
convertScalarLong(StructureMembers.Member m)
Get scalar value as a int, with conversion as needed.
|
Array |
getArray(StructureMembers.Member m)
Get member data array of any type as an Array.
|
ArraySequence |
getArraySequence(StructureMembers.Member m)
Get ArraySequence for a member of type Sequence.
|
ArrayStructure |
getArrayStructure(StructureMembers.Member m)
Get member data of type Structure.
|
byte[] |
getJavaArrayByte(StructureMembers.Member m)
Get java byte array for a member of type byte.
|
char[] |
getJavaArrayChar(StructureMembers.Member m)
Get java char array for a member of type char.
|
double[] |
getJavaArrayDouble(StructureMembers.Member m)
Get java double array for a member of type double.
|
float[] |
getJavaArrayFloat(StructureMembers.Member m)
Get java float array for a member of type float.
|
int[] |
getJavaArrayInt(StructureMembers.Member m)
Get java int array for a member of type int.
|
long[] |
getJavaArrayLong(StructureMembers.Member m)
Get java long array for a member of type long.
|
short[] |
getJavaArrayShort(StructureMembers.Member m)
Get java short array for a member of type short.
|
java.lang.String[] |
getJavaArrayString(StructureMembers.Member m)
Get java array of Strings for a member of type char or String.
|
byte |
getScalarByte(StructureMembers.Member m)
Get member data of type byte.
|
char |
getScalarChar(StructureMembers.Member m)
Get member data of type char.
|
double |
getScalarDouble(StructureMembers.Member m)
Get member data of type double.
|
float |
getScalarFloat(StructureMembers.Member m)
Get member data of type float.
|
int |
getScalarInt(StructureMembers.Member m)
Get member data of type int.
|
long |
getScalarLong(StructureMembers.Member m)
Get member data of type long.
|
short |
getScalarShort(StructureMembers.Member m)
Get member data of type short.
|
java.lang.String |
getScalarString(StructureMembers.Member m)
Get String value, from rank 0 String or rank 1 char member array.
|
StructureData |
getScalarStructure(StructureMembers.Member m)
Get member data of type Structure.
|
void |
setMemberData(java.lang.String memberName,
Array data) |
void |
setMemberData(StructureMembers.Member m,
Array data) |
void |
showInternal(java.util.Formatter f,
Indent indent) |
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, findMember, getArray, getArraySequence, getArrayStructure, getJavaArrayByte, getJavaArrayChar, getJavaArrayDouble, getJavaArrayFloat, getJavaArrayInt, getJavaArrayLong, getJavaArrayShort, getJavaArrayString, getMembers, getName, getScalarByte, getScalarChar, getScalarDouble, getScalarFloat, getScalarInt, getScalarLong, getScalarObject, getScalarObject, getScalarShort, getScalarString, getScalarStructure, getStructureMembers, showInternalMembers, toString
public StructureDataW(StructureMembers members)
members
- StructureData is always contained in a StructureArray.public double convertScalarDouble(StructureMembers.Member m)
StructureData
convertScalarDouble
in class StructureData
m
- member Variable.public float convertScalarFloat(StructureMembers.Member m)
StructureData
convertScalarFloat
in class StructureData
m
- member Variable.public int convertScalarInt(StructureMembers.Member m)
StructureData
convertScalarInt
in class StructureData
m
- member Variable.public long convertScalarLong(StructureMembers.Member m)
StructureData
convertScalarLong
in class StructureData
m
- member Variable.public Array getArray(StructureMembers.Member m)
getArray
in class StructureData
m
- get data from this StructureMembers.Member.public ArraySequence getArraySequence(StructureMembers.Member m)
StructureData
getArraySequence
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Sequence.public ArrayStructure getArrayStructure(StructureMembers.Member m)
getArrayStructure
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Structure.public byte[] getJavaArrayByte(StructureMembers.Member m)
getJavaArrayByte
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type byte.public char[] getJavaArrayChar(StructureMembers.Member m)
getJavaArrayChar
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char.public double[] getJavaArrayDouble(StructureMembers.Member m)
getJavaArrayDouble
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type double.public float[] getJavaArrayFloat(StructureMembers.Member m)
getJavaArrayFloat
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type float.public int[] getJavaArrayInt(StructureMembers.Member m)
getJavaArrayInt
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type int.public long[] getJavaArrayLong(StructureMembers.Member m)
getJavaArrayLong
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type long.public short[] getJavaArrayShort(StructureMembers.Member m)
getJavaArrayShort
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type short.public java.lang.String[] getJavaArrayString(StructureMembers.Member m)
StructureData
getJavaArrayString
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char or String.public byte getScalarByte(StructureMembers.Member m)
getScalarByte
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type byte.public char getScalarChar(StructureMembers.Member m)
getScalarChar
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char.public double getScalarDouble(StructureMembers.Member m)
getScalarDouble
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type double.public float getScalarFloat(StructureMembers.Member m)
getScalarFloat
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type float.public int getScalarInt(StructureMembers.Member m)
getScalarInt
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type int.public long getScalarLong(StructureMembers.Member m)
getScalarLong
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type long.public short getScalarShort(StructureMembers.Member m)
getScalarShort
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type short.public java.lang.String getScalarString(StructureMembers.Member m)
getScalarString
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type char or String.public StructureData getScalarStructure(StructureMembers.Member m)
getScalarStructure
in class StructureData
m
- get data from this StructureMembers.Member. Must be of type Structure.public void setMemberData(java.lang.String memberName, Array data)
public void setMemberData(StructureMembers.Member m, Array data)
public void showInternal(java.util.Formatter f, Indent indent)
showInternal
in class StructureData