|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.scpecg.Section
com.pixelmed.scpecg.Section3
public class Section3
A class to encapsulate the SCP-ECG Lead Definition section.
| Field Summary |
|---|
| Fields inherited from class com.pixelmed.scpecg.Section |
|---|
bytesRead, header, sectionBytesRemaining, tree |
| Constructor Summary | |
|---|---|
Section3(SectionHeader header)
|
|
| Method Summary | |
|---|---|
long[] |
getEndingSampleNumbers()
|
int |
getFlagByte()
|
static String |
getLeadName(int leadNumber)
|
String[] |
getLeadNames()
|
static int |
getLeadNumber(String leadName)
|
int[] |
getLeadNumbers()
|
boolean |
getLeadsAllSimultaneouslyRecorded()
|
int |
getNumberOfLeads()
|
int |
getNumberOfSimultaneouslyRecordedLeads()
|
long[] |
getNumbersOfSamples()
|
boolean |
getReferenceBeatUsedForCompression()
|
boolean |
getReservedBit1()
|
String |
getSectionName()
Get a string name for this section. |
long[] |
getStartingSampleNumbers()
|
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. |
String |
toString()
Dump the section as a String. |
String |
validate()
Validate the section against the standard. |
| Methods inherited from class com.pixelmed.scpecg.Section |
|---|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Section3(SectionHeader header)
| Method Detail |
|---|
public String getSectionName()
Get a string name for this section.
getSectionName in class Sectionpublic static String getLeadName(int leadNumber)
public static int getLeadNumber(String leadName)
public int getNumberOfLeads()
public int getFlagByte()
public boolean getReferenceBeatUsedForCompression()
public boolean getReservedBit1()
public boolean getLeadsAllSimultaneouslyRecorded()
public int getNumberOfSimultaneouslyRecordedLeads()
public long[] getStartingSampleNumbers()
public long[] getEndingSampleNumbers()
public long[] getNumbersOfSamples()
public int[] getLeadNumbers()
public String[] getLeadNames()
public long read(BinaryInputStream i)
throws IOException
SectionRead the remainder of the section from a stream.
read in class Sectioni - the input stream
IOExceptionpublic String toString()
SectionDump the section as a String.
toString in class SectionStringpublic String validate()
SectionValidate the section against the standard.
validate in class SectionStringpublic SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
getTree in class Sectionparent - the node to which this section is to be added if it needs to be created de novo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||