TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.models.trace
Interface TRCLineCoverageData

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, TRCLLData
All Known Subinterfaces:
TRCLinePerformanceData
All Known Implementing Classes:
TRCLineCoverageDataImpl, TRCLinePerformanceDataImpl

public interface TRCLineCoverageData
extends TRCLLData

A representation of the model object 'TRC Line Coverage Data'. Aims to actually contain hit or count coverage data. WARNING: Should not be used directly, but rather querying TRCLLData.getUnitData(). To be interpreted thanks to LLUnitData that will contain as a result of the query everything useful without wondering which kind of line level data has been collected. One of hitTable and countTable is supposed to be null. This way some place is saved.

The following features are supported:

See Also:
TracePackage.getTRCLineCoverageData()
Generated
[EMF] Model

Method Summary
 int[] getCountTable()
          Returns the value of the 'Count Table' attribute
 boolean[] getHitTable()
          Returns the value of the 'Hit Table' attribute
 int[] getLineTable()
          Returns the value of the 'Line Table' attribute
 TRCSourceInfoWithLLData getSourceInfo()
          Returns the value of the 'Source Info' reference
 int getUnitCount()
           Returns the number of LLUnits for which detailed information is available.
 LLUnitData getUnitData(int unitNumber, LLUnitData instance)
           Returns an LLUnitData object with detailed information about the indicated unit_number.
 boolean hasAccumulatedTimeInfo()
           Returns false
 boolean hasCountInfo()
           Returns true if count information is filled in, i.e. countTable is not null
 void setCountTable(int[] value)
          Sets the value of the 'Count Table' attribute
 void setHitTable(boolean[] value)
          Sets the value of the 'Hit Table' attribute
 void setLineTable(int[] value)
          Sets the value of the 'Line Table' attribute
 void setSourceInfo(TRCSourceInfoWithLLData value)
          Sets the value of the 'Source Info' reference
 
Methods inherited from interface org.eclipse.hyades.models.trace.TRCLLData
getHeadings, getMethod, getSummaryNonzero, getSummaryUnits, getTypeId, setHeadings, setMethod, setSummaryNonzero, setSummaryUnits, setTypeId
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getLineTable

public int[] getLineTable()
Returns the value of the 'Line Table' attribute.

If the meaning of the 'Line Table' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Line Table' attribute.
See Also:
setLineTable(int[]), TracePackage.getTRCLineCoverageData_LineTable()
Generated
[EMF] Model
dataType="org.eclipse.hyades.models.hierarchy.IntArray"

setLineTable

public void setLineTable(int[] value)
Sets the value of the 'Line Table' attribute.

Parameters:
value - the new value of the 'Line Table' attribute.
See Also:
getLineTable()
Generated

getHitTable

public boolean[] getHitTable()
Returns the value of the 'Hit Table' attribute.

If the meaning of the 'Hit Table' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Hit Table' attribute.
See Also:
setHitTable(boolean[]), TracePackage.getTRCLineCoverageData_HitTable()
Generated
[EMF] Model
dataType="org.eclipse.hyades.models.hierarchy.BooleanArray"

setHitTable

public void setHitTable(boolean[] value)
Sets the value of the 'Hit Table' attribute.

Parameters:
value - the new value of the 'Hit Table' attribute.
See Also:
getHitTable()
Generated

getCountTable

public int[] getCountTable()
Returns the value of the 'Count Table' attribute.

If the meaning of the 'Count Table' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Count Table' attribute.
See Also:
setCountTable(int[]), TracePackage.getTRCLineCoverageData_CountTable()
Generated
[EMF] Model
dataType="org.eclipse.hyades.models.hierarchy.IntArray"

setCountTable

public void setCountTable(int[] value)
Sets the value of the 'Count Table' attribute.

Parameters:
value - the new value of the 'Count Table' attribute.
See Also:
getCountTable()
Generated

getSourceInfo

public TRCSourceInfoWithLLData getSourceInfo()
Returns the value of the 'Source Info' reference.

If the meaning of the 'Source Info' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Source Info' reference.
See Also:
setSourceInfo(TRCSourceInfoWithLLData), TracePackage.getTRCLineCoverageData_SourceInfo()
Generated
[EMF] Model

setSourceInfo

public void setSourceInfo(TRCSourceInfoWithLLData value)
Sets the value of the 'Source Info' reference.

Parameters:
value - the new value of the 'Source Info' reference.
See Also:
getSourceInfo()
Generated

getUnitCount

public int getUnitCount()
Returns the number of LLUnits for which detailed information is available. If this returns zero, only the summary information is available.

Specified by:
getUnitCount in interface TRCLLData
Generated
[EMF] Model
kind="operation"

getUnitData

public LLUnitData getUnitData(int unitNumber,
                              LLUnitData instance)
Returns an LLUnitData object with detailed information about the indicated unit_number. If instance is not null, then that instance is re-used (overwriting its fields with new data) and returned. Reusing the object instance saves construction time and heap traffic. See below for restrictions on re-using an LLUnitData instance. Unit numbers range from zero to getUnitCount()-1.

Specified by:
getUnitData in interface TRCLLData
Generated
[EMF] Model
dataType="org.eclipse.hyades.models.trace.LLUnitData" instanceDataType="org.eclipse.hyades.models.trace.LLUnitData"

hasCountInfo

public boolean hasCountInfo()
Returns true if count information is filled in, i.e. countTable is not null

Specified by:
hasCountInfo in interface TRCLLData
Generated
[EMF] Model

hasAccumulatedTimeInfo

public boolean hasAccumulatedTimeInfo()
Returns false

Specified by:
hasAccumulatedTimeInfo in interface TRCLLData
Generated
[EMF] Model

TPTP 4.4.0 Platform Project
Public API Specification