public class Section5Or6 extends Section
A class to encapsulate the SCP-ECG Encoded Reference Beat Data and Residual or Rhythm Data sections.
bytesRead, header, sectionBytesRemaining, tree
Constructor and Description |
---|
Section5Or6(SectionHeader header,
int numberOfLeads) |
Modifier and Type | Method and Description |
---|---|
int |
getAmplitudeValueMultiplier() |
int |
getBimodalCompressionUsed() |
int[] |
getByteLengthsOfEncodedLeads() |
byte[][] |
getCompressedLeadData() |
int |
getDifferenceDataUsed() |
int |
getNumberOfLeads() |
int |
getSampleTimeInterval() |
java.lang.String |
getSectionName()
Get a string name for this section.
|
long |
getTotalBytesinCompressedLeadData() |
SCPTreeRecord |
getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
|
long |
read(BinaryInputStream i)
Read the remainder of the section from a stream.
|
java.lang.String |
toString()
Dump the section as a
String . |
java.lang.String |
validate()
Validate the section against the standard.
|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere
public Section5Or6(SectionHeader header, int numberOfLeads)
public int getAmplitudeValueMultiplier()
public int getBimodalCompressionUsed()
public int[] getByteLengthsOfEncodedLeads()
public byte[][] getCompressedLeadData()
public int getDifferenceDataUsed()
public int getNumberOfLeads()
public int getSampleTimeInterval()
public java.lang.String getSectionName()
Get a string name for this section.
getSectionName
in class Section
public long getTotalBytesinCompressedLeadData()
public SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
public long read(BinaryInputStream i) throws java.io.IOException
Section
Read the remainder of the section from a stream.
public java.lang.String toString()
Section
Dump the section as a String
.