Package gaiasky.data.group
Class BinaryVersion0
java.lang.Object
gaiasky.data.group.BinaryIOBase
gaiasky.data.group.BinaryVersion0
- All Implemented Interfaces:
BinaryIO
- Direct Known Subclasses:
BinaryVersion1
public class BinaryVersion0 extends BinaryIOBase
Original binary version (0), used in DR1 and DR2.
Contains 9 doubles, 4 floats, 1 integer (hip), 3 integers for the tycho identifiers, a long (id) and the name.
-
Field Summary
Fields inherited from class gaiasky.data.group.BinaryIOBase
nDoubles, nFloats, tychoIds
-
Constructor Summary
Constructors Constructor Description BinaryVersion0()
-
Method Summary
Modifier and Type Method Description void
writeParticleRecord(IParticleRecord sb, java.io.DataOutputStream out)
Write the star bean to the output streamMethods inherited from class gaiasky.data.group.BinaryIOBase
readParticleRecord, readParticleRecord
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BinaryVersion0
public BinaryVersion0()
-
-
Method Details
-
writeParticleRecord
public void writeParticleRecord(IParticleRecord sb, java.io.DataOutputStream out) throws java.io.IOExceptionDescription copied from interface:BinaryIO
Write the star bean to the output stream- Parameters:
sb
- The star beanout
- The output stream- Throws:
java.io.IOException
-