public class StructureDataDeep extends StructureDataA
EMPTY
Modifier and Type | Method and Description |
---|---|
static StructureDataDeep |
copy(StructureData sdata,
StructureMembers members)
Make deep copy from sdata to another StructureData object whose data is self contained
|
static ArrayStructureBB |
copyToArrayBB(ArrayStructure as,
ByteOrder bo,
boolean canonical)
Make deep copy from an ArrayStructure to a ArrayStructureBB whose data is contained in a ByteBuffer
|
static ArrayStructureBB |
copyToArrayBB(Structure s,
ArrayStructure as,
ByteOrder bo)
Make deep copy to an ArrayStructureBB whose data is contained in a ByteBuffer.
|
static ArrayStructureBB |
copyToArrayBB(StructureData sdata)
Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer.
|
static int |
copyToArrayBB(StructureData sdata,
ArrayStructureBB abb)
Make deep copy from a StructureData into the given ArrayStructureBB
|
static ArrayStructureBB |
copyToArrayBB(StructureData sdata,
StructureMembers sm,
ByteOrder bo)
Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer
|
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, getArray, getArraySequence, getArrayStructure, getJavaArrayByte, getJavaArrayChar, getJavaArrayDouble, getJavaArrayFloat, getJavaArrayInt, getJavaArrayLong, getJavaArrayShort, getJavaArrayString, getScalarByte, getScalarChar, getScalarDouble, getScalarFloat, getScalarInt, getScalarLong, getScalarShort, getScalarString, getScalarStructure, showInternal
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 static StructureDataDeep copy(StructureData sdata, StructureMembers members)
sdata
- original sdatamembers
- the StructureData members. a reference is kept to this objectpublic static ArrayStructureBB copyToArrayBB(ArrayStructure as, ByteOrder bo, boolean canonical) throws IOException
as
- original ArrayStructurebo
- what byte order to use ? (null for any)canonical
- packing must be canonicalIOException
public static ArrayStructureBB copyToArrayBB(Structure s, ArrayStructure as, ByteOrder bo) throws IOException
s
- list of structure members come from here; must be compatible with ArrayStructure's dataas
- original ArrayStructurebo
- what byte order to use ? (null for default)IOException
public static ArrayStructureBB copyToArrayBB(StructureData sdata)
sdata
- original ArrayStructure.public static int copyToArrayBB(StructureData sdata, ArrayStructureBB abb)
sdata
- original data from hereabb
- copy data into this ArrayStructureBB, starting from wherever the ByteBuffer current position ispublic static ArrayStructureBB copyToArrayBB(StructureData sdata, StructureMembers sm, ByteOrder bo)
sdata
- original ArrayStructuresm
- the StructureData members. a reference is kept to this objectbo
- Byte Order of the ByteBuffer