ctf: make SIPIE enums store both key and value
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 2 Dec 2015 20:41:59 +0000 (15:41 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 16 Dec 2015 21:45:50 +0000 (16:45 -0500)
commit23ba30ce1a4ede4e2b10b3d50e2cf4b7b485f170
tree1cfe3e594bbcb658b6f89b56f487f396f80ec481
parent8aa463e0c25d9a53f055c7344db98c175af0c532
ctf: make SIPIE enums store both key and value

By adding the getStringValue and getIntegerValue,
instead of getValue, we have more information available.
This is useful for enums so we can look up the string
name but also sort it easier.

Change-Id: Icfa095a0a8c2b8924809c389dbfe53055c3b63be
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/61814
Reviewed-by: Hudson CI
Reviewed-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
ctf/org.eclipse.tracecompass.ctf.core.tests/src/org/eclipse/tracecompass/ctf/core/tests/trace/CTFStreamInputPacketIndexEntryTest.java
ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java
This page took 0.02461 seconds and 5 git commands to generate.