tmf: Add getSubField() method to ITmfEventField
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Thu, 27 Jun 2013 15:47:17 +0000 (11:47 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Fri, 12 Jul 2013 18:02:26 +0000 (14:02 -0400)
commit6c204912a8ff25f796c43c79357475336ab11d6e
treecb9ebad2925d9fbff64e54f8517dcb421c5151c0
parent0295e843e6940199215d3d118007ac651c1fcb33
tmf: Add getSubField() method to ITmfEventField

This function allows to directly get a subfield, recursively for struct and
variant fields with many levels of embedded fields.  Null is returned if
any level of field is not available.

Change-Id: I46691f62036f4e9826ee5f704efda74e71725acc
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/14281
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/ctfadaptor/CtfTmfEventTest.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/event/ITmfEventField.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/event/TmfEventField.java
This page took 0.026173 seconds and 5 git commands to generate.