ifc.bim.openecg.jtools.jparser
Class Sect007

java.lang.Object
  |
  +--ifc.bim.openecg.jtools.jparser.SectGen
        |
        +--ifc.bim.openecg.jtools.jparser.Sect007

public class Sect007
extends SectGen

The structure of Section 7 with methods to parse data


Nested Class Summary
 class Sect007.QrsMeas
          A structure for storing Qrs's measures
 class Sect007.SpkInfo
          A structure for storing pacemaker spike's info
 class Sect007.SpkMeas
          A structure for storing pacemaker spike's measures
 
Field Summary
 int aRate
          Stores atrail rate
 int blkNum
          Stores total number of Qrs's blocks or beat types
 int formula
          Stores formula typer used for HR correction
 byte[] manData
          Stores manufacturere addictional data
 int ppInt
          Stores average PP interval
 Sect007.QrsMeas[] qrsMeas
          Stores Qrs's measurements
 int qrsNum
          Stores total number of Qrs's blocks
 int[] qrsT
          Stores type of each Qrs complex
 int qtC
          Stores QT corrected
 int rrInt
          Stores average RR interval
 Sect007.SpkInfo[] spkInfo
          Stores pacemaker spikes' info
 Sect007.SpkMeas[] spkMeas
          Stores pacemaker spikes' measurement
 int spkNum
          Stores total number of pacemaker's spikes
 byte[] tFields
          Stores tagged fields
 int tSize
          Stores total size of tagged fields
 int vRate
          Stores ventricular rate
 
Fields inherited from class ifc.bim.openecg.jtools.jparser.SectGen
data, head, indx, log
 
Constructor Summary
Sect007()
          Constructs a Sect7 with an anonymous logger
Sect007(java.util.logging.Logger log)
          Constructs a Sect7 that uses a specific logger
 
Method Summary
 void Parse(int lNum)
          Parse the data part retrieving the value of single fields
 int[] readTag(int tag)
          Searches for a specified tag in tFields and reads its content, if found
 
Methods inherited from class ifc.bim.openecg.jtools.jparser.SectGen
Load, PrnInfo, readByte, readFully, readInt, readShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blkNum

public int blkNum
Stores total number of Qrs's blocks or beat types


spkNum

public int spkNum
Stores total number of pacemaker's spikes


rrInt

public int rrInt
Stores average RR interval


ppInt

public int ppInt
Stores average PP interval


qrsMeas

public Sect007.QrsMeas[] qrsMeas
Stores Qrs's measurements


spkMeas

public Sect007.SpkMeas[] spkMeas
Stores pacemaker spikes' measurement


spkInfo

public Sect007.SpkInfo[] spkInfo
Stores pacemaker spikes' info


qrsNum

public int qrsNum
Stores total number of Qrs's blocks


qrsT

public int[] qrsT
Stores type of each Qrs complex


vRate

public int vRate
Stores ventricular rate


aRate

public int aRate
Stores atrail rate


qtC

public int qtC
Stores QT corrected


formula

public int formula
Stores formula typer used for HR correction


tSize

public int tSize
Stores total size of tagged fields


tFields

public byte[] tFields
Stores tagged fields


manData

public byte[] manData
Stores manufacturere addictional data

Constructor Detail

Sect007

public Sect007()
Constructs a Sect7 with an anonymous logger


Sect007

public Sect007(java.util.logging.Logger log)
Constructs a Sect7 that uses a specific logger

Parameters:
log - the logger to be used
Method Detail

Parse

public void Parse(int lNum)
           throws java.lang.Exception
Parse the data part retrieving the value of single fields

Overrides:
Parse in class SectGen
Parameters:
lNum - total number of leads stored in the SCP-ECG record (irrilevant for this section)
Throws:
java.lang.Exception - if any error occours during the operation

readTag

public int[] readTag(int tag)
Searches for a specified tag in tFields and reads its content, if found

Parameters:
tag - the number of the tag to be read