TMF: Add Variant field class to CtfTmfEventField
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Thu, 28 Mar 2013 15:59:01 +0000 (11:59 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 18 Apr 2013 20:20:13 +0000 (16:20 -0400)
commit51cc7ef4899e270546cc80b7d1fc5b3689a84468
treeb04bf66738d5d7c6fda66adbdca0e357965b41f0
parentfc20d1d91a67bbbfa11c84c7b01de383a52d9bf6
TMF: Add Variant field class to CtfTmfEventField

A variant field class was necessary to not lose the name of the variant
field.  The output of a variant field type is now identical to that of
babeltrace.

Modified some comments and added the getFormattedValue to CTFStructField
to correctly handle empty structs.

Removed overriden toString functions that are not overridden anymore.

Change-Id: Iccffc6a2375df54945ff41614628760afcdf147f
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/11550
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/ctfadaptor/CtfTmfEventFieldTest.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEventField.java
This page took 0.026798 seconds and 5 git commands to generate.