}
private void testData( StructureData sdata) {
for (StructureMembers.Member member : sdata.getMembers()) {
DataType dt = member.getDataType();
if (dt == DataType.FLOAT) {
sdata.getScalarFloat(member);
sdata.getJavaArrayFloat(member);
} else if (dt == DataType.DOUBLE) {
sdata.getScalarDouble(member);
sdata.getJavaArrayDouble(member);
} else if (dt == DataType.BYTE) {
sdata.getScalarByte(member);
sdata.getJavaArrayByte(member);
} else if (dt == DataType.SHORT) {
sdata.getScalarShort(member);
sdata.getJavaArrayShort(member);
} else if (dt == DataType.INT) {
sdata.getScalarInt(member);
sdata.getJavaArrayInt(member);
} else if (dt == DataType.LONG) {
sdata.getScalarLong(member);
sdata.getJavaArrayLong(member);
} else if (dt == DataType.CHAR) {
sdata.getScalarChar(member);
sdata.getJavaArrayChar(member);
sdata.getScalarString(member);
} else if (dt == DataType.STRING) {
sdata.getScalarString(member);
}
if (dt.isNumeric()) {
sdata.convertScalarDouble(member.getName());
}
}
}