public class Struct
- extends Datatype
Subclass of `Datatype' representing a derived datatype created using
createWriteBuffer doesn't write the sectionHeader because Struct datatype
may consist of various different datatypes, thus the best place to write
these section headers (and read them as well) are pack() and unpack()
methods in StructPacker class. This behaviour is only exhibited,
(writing various different kind of sections) by Struct datatype.
Thus, it has be dealt here only. This
may not be the best way of doing this, but at the mom. it looks *the best*.
you want to pack multiple type of non-contigous or contigous elements.
|Methods inherited from class mpi.Datatype
Commit, Contiguous, Extent, finalize, free, Hindexed, Hvector, Indexed, Lb, Size, Struct, Ub, Vector
|Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Struct(int array_of_blocklengths,
- you want to pack multiple type of non-contigous or contigous elements.