Commit | Line | Data |
---|---|---|
07002e0a | 1 | /******************************************************************************* |
60ae41e1 | 2 | * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others |
07002e0a MK |
3 | * |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: Matthew Khouzam - Initial API and implementation | |
10 | *******************************************************************************/ | |
11 | ||
12 | package org.eclipse.linuxtools.internal.ctf.core.event.metadata; | |
13 | ||
9ac2eb62 MK |
14 | /** |
15 | * Strings generated from the TSDL grammar. Note that they are static final so | |
16 | * they get quarked. See CTF specs for more details | |
17 | * | |
18 | * @author Matthew Khouzam and All | |
9ac2eb62 | 19 | */ |
0594c61c | 20 | @SuppressWarnings("nls") |
fafc36a7 | 21 | public interface MetadataStrings { |
07002e0a | 22 | |
9ac2eb62 | 23 | /** None */ |
0594c61c AM |
24 | |
25 | static final String NONE = "none"; | |
9ac2eb62 | 26 | /** Ascii */ |
0594c61c | 27 | static final String ASCII = "ASCII"; |
9ac2eb62 | 28 | /** UTF8 */ |
0594c61c | 29 | static final String UTF8 = "UTF8"; |
9ac2eb62 | 30 | /** b (for binary like b11010010 */ |
0594c61c | 31 | static final String BIN = "b"; |
9ac2eb62 | 32 | /** Binary */ |
0594c61c | 33 | static final String BINARY = "binary"; |
9ac2eb62 | 34 | /** Octal like o177 */ |
0594c61c | 35 | static final String OCTAL_CTE = "o"; |
9ac2eb62 | 36 | /** Octal like oct177 */ |
0594c61c | 37 | static final String OCT = "oct"; |
9ac2eb62 | 38 | /** Octal like octal177 */ |
0594c61c | 39 | static final String OCTAL = "octal"; |
9ac2eb62 | 40 | /** Pointer (memory address for all the hardcore Java gurus out there)*/ |
0594c61c | 41 | static final String POINTER = "p"; |
9ac2eb62 | 42 | /** X for hex */ |
0594c61c | 43 | static final String X2 = "X"; |
9ac2eb62 | 44 | /** x for hex */ |
0594c61c | 45 | static final String X = "x"; |
9ac2eb62 | 46 | /** hex */ |
0594c61c | 47 | static final String HEX = "hex"; |
9ac2eb62 | 48 | /** Hexadecimal */ |
0594c61c | 49 | static final String HEXADECIMAL = "hexadecimal"; |
9ac2eb62 | 50 | /** unsigned like in 10000ul */ |
0594c61c | 51 | static final String UNSIGNED_CTE = "u"; |
9ac2eb62 | 52 | /** Decimal */ |
0594c61c | 53 | static final String DEC_CTE = "d"; |
9ac2eb62 | 54 | /** Integer like 1000i */ |
0594c61c | 55 | static final String INT_MOD = "i"; |
9ac2eb62 | 56 | /** Decimal */ |
0594c61c | 57 | static final String DEC = "dec"; |
9ac2eb62 | 58 | /** Decimal */ |
0594c61c | 59 | static final String DECIMAL = "decimal"; |
9ac2eb62 | 60 | /** native for byteorders*/ |
0594c61c | 61 | static final String NATIVE = "native"; |
9ac2eb62 | 62 | /** network for byteorders*/ |
0594c61c | 63 | static final String NETWORK = "network"; |
9ac2eb62 | 64 | /** Big endian */ |
0594c61c | 65 | static final String BE = "be"; |
9ac2eb62 | 66 | /** Little endian */ |
0594c61c | 67 | static final String LE = "le"; |
9ac2eb62 | 68 | /** Alignment of a field */ |
0594c61c | 69 | static final String ALIGN = "align"; |
9ac2eb62 | 70 | /** Mantissa digits */ |
0594c61c | 71 | static final String MANT_DIG = "mant_dig"; |
9ac2eb62 | 72 | /** Exponent digits */ |
0594c61c | 73 | static final String EXP_DIG = "exp_dig"; |
9ac2eb62 | 74 | /** Loglevel */ |
0594c61c | 75 | static final String LOGLEVEL2 = "loglevel"; |
9ac2eb62 | 76 | /** Name */ |
0594c61c | 77 | static final String NAME2 = "name"; |
9ac2eb62 | 78 | /** Event context */ |
0594c61c | 79 | static final String EVENT_CONTEXT = "event.context"; |
9ac2eb62 | 80 | /** Fields */ |
0594c61c | 81 | static final String FIELDS_STRING = "fields"; |
9ac2eb62 | 82 | /** context */ |
0594c61c | 83 | static final String CONTEXT = "context"; |
9ac2eb62 | 84 | /** Stream ID */ |
0594c61c | 85 | static final String STREAM_ID = "stream_id"; |
9ac2eb62 | 86 | /** Packet context */ |
0594c61c | 87 | static final String PACKET_CONTEXT = "packet.context"; |
9ac2eb62 | 88 | /** ID */ |
0594c61c | 89 | static final String ID = "id"; |
9ac2eb62 | 90 | /** Packet Header */ |
0594c61c | 91 | static final String PACKET_HEADER = "packet.header"; |
9ac2eb62 | 92 | /** Event Header */ |
0594c61c | 93 | static final String EVENT_HEADER = "event.header"; |
9ac2eb62 | 94 | /** Byte order */ |
0594c61c | 95 | static final String BYTE_ORDER = "byte_order"; |
9ac2eb62 | 96 | /** UUID */ |
0594c61c | 97 | static final String UUID_STRING = "uuid"; |
9ac2eb62 | 98 | /** False */ |
0594c61c | 99 | static final String FALSE2 = "FALSE"; |
9ac2eb62 | 100 | /** False */ |
0594c61c | 101 | static final String FALSE = "false"; |
9ac2eb62 | 102 | /** True */ |
0594c61c | 103 | static final String TRUE2 = "TRUE"; |
9ac2eb62 | 104 | /** True */ |
0594c61c | 105 | static final String TRUE = "true"; |
108f70b8 | 106 | /** Minor (Version)*/ |
0594c61c | 107 | static final String MINOR = "minor"; |
108f70b8 | 108 | /** Major (Version)*/ |
0594c61c | 109 | static final String MAJOR = "major"; |
07002e0a | 110 | |
07002e0a | 111 | } |