Commit | Line | Data |
---|---|---|
07002e0a MK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others | |
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 | |
19 | * | |
20 | */ | |
07002e0a MK |
21 | public interface CTFStrings { |
22 | ||
9ac2eb62 | 23 | /** None */ |
07002e0a | 24 | public static final String NONE = "none"; //$NON-NLS-1$ |
9ac2eb62 | 25 | /** Ascii */ |
07002e0a | 26 | public static final String ASCII = "ASCII"; //$NON-NLS-1$ |
9ac2eb62 | 27 | /** UTF8 */ |
07002e0a | 28 | public static final String UTF8 = "UTF8"; //$NON-NLS-1$ |
9ac2eb62 | 29 | /** b (for binary like b11010010 */ |
07002e0a | 30 | public static final String BIN = "b"; //$NON-NLS-1$ |
9ac2eb62 | 31 | /** Binary */ |
07002e0a | 32 | public static final String BINARY = "binary"; //$NON-NLS-1$ |
9ac2eb62 | 33 | /** Octal like o177 */ |
07002e0a | 34 | public static final String OCTAL_CTE = "o"; //$NON-NLS-1$ |
9ac2eb62 | 35 | /** Octal like oct177 */ |
07002e0a | 36 | public static final String OCT = "oct"; //$NON-NLS-1$ |
9ac2eb62 | 37 | /** Octal like octal177 */ |
07002e0a | 38 | public static final String OCTAL = "octal"; //$NON-NLS-1$ |
9ac2eb62 | 39 | /** Pointer (memory address for all the hardcore Java gurus out there)*/ |
07002e0a | 40 | public static final String POINTER = "p"; //$NON-NLS-1$ |
9ac2eb62 | 41 | /** X for hex */ |
07002e0a | 42 | public static final String X2 = "X"; //$NON-NLS-1$ |
9ac2eb62 | 43 | /** x for hex */ |
07002e0a | 44 | public static final String X = "x"; //$NON-NLS-1$ |
9ac2eb62 | 45 | /** hex */ |
07002e0a | 46 | public static final String HEX = "hex"; //$NON-NLS-1$ |
9ac2eb62 | 47 | /** Hexadecimal */ |
07002e0a | 48 | public static final String HEXADECIMAL = "hexadecimal"; //$NON-NLS-1$ |
9ac2eb62 | 49 | /** unsigned like in 10000ul */ |
07002e0a | 50 | public static final String UNSIGNED_CTE = "u"; //$NON-NLS-1$ |
9ac2eb62 | 51 | /** Decimal */ |
07002e0a | 52 | public static final String DEC_CTE = "d"; //$NON-NLS-1$ |
9ac2eb62 | 53 | /** Integer like 1000i */ |
07002e0a | 54 | public static final String INT_MOD = "i"; //$NON-NLS-1$ |
9ac2eb62 | 55 | /** Decimal */ |
07002e0a | 56 | public static final String DEC = "dec"; //$NON-NLS-1$ |
9ac2eb62 | 57 | /** Decimal */ |
07002e0a | 58 | public static final String DECIMAL = "decimal"; //$NON-NLS-1$ |
9ac2eb62 | 59 | /** native for byteorders*/ |
07002e0a | 60 | public static final String NATIVE = "native"; //$NON-NLS-1$ |
9ac2eb62 | 61 | /** network for byteorders*/ |
07002e0a | 62 | public static final String NETWORK = "network"; //$NON-NLS-1$ |
9ac2eb62 | 63 | /** Big endian */ |
07002e0a | 64 | public static final String BE = "be"; //$NON-NLS-1$ |
9ac2eb62 | 65 | /** Little endian */ |
07002e0a | 66 | public static final String LE = "le"; //$NON-NLS-1$ |
9ac2eb62 | 67 | /** Alignment of a field */ |
07002e0a | 68 | public static final String ALIGN = "align"; //$NON-NLS-1$ |
9ac2eb62 | 69 | /** Mantissa digits */ |
07002e0a | 70 | public static final String MANT_DIG = "mant_dig"; //$NON-NLS-1$ |
9ac2eb62 | 71 | /** Exponent digits */ |
07002e0a | 72 | public static final String EXP_DIG = "exp_dig"; //$NON-NLS-1$ |
9ac2eb62 | 73 | /** Loglevel */ |
07002e0a | 74 | public static final String LOGLEVEL2 = "loglevel"; //$NON-NLS-1$ |
9ac2eb62 | 75 | /** Name */ |
07002e0a | 76 | public static final String NAME2 = "name"; //$NON-NLS-1$ |
9ac2eb62 | 77 | /** Event context */ |
07002e0a | 78 | public static final String EVENT_CONTEXT = "event.context"; //$NON-NLS-1$ |
9ac2eb62 | 79 | /** Fields */ |
07002e0a | 80 | public static final String FIELDS_STRING = "fields"; //$NON-NLS-1$ |
9ac2eb62 | 81 | /** context */ |
07002e0a | 82 | public static final String CONTEXT = "context"; //$NON-NLS-1$ |
9ac2eb62 | 83 | /** Stream ID */ |
07002e0a | 84 | public static final String STREAM_ID = "stream_id"; //$NON-NLS-1$ |
9ac2eb62 | 85 | /** Packet context */ |
07002e0a | 86 | public static final String PACKET_CONTEXT = "packet.context"; //$NON-NLS-1$ |
9ac2eb62 | 87 | /** ID */ |
07002e0a | 88 | public static final String ID = "id"; //$NON-NLS-1$ |
9ac2eb62 | 89 | /** Packet Header */ |
07002e0a | 90 | public static final String PACKET_HEADER = "packet.header"; //$NON-NLS-1$ |
9ac2eb62 | 91 | /** Event Header */ |
07002e0a | 92 | public static final String EVENT_HEADER = "event.header"; //$NON-NLS-1$ |
9ac2eb62 | 93 | /** Byte order */ |
07002e0a | 94 | public static final String BYTE_ORDER = "byte_order"; //$NON-NLS-1$ |
9ac2eb62 | 95 | /** UUID */ |
07002e0a | 96 | public static final String UUID_STRING = "uuid"; //$NON-NLS-1$ |
9ac2eb62 | 97 | /** False */ |
07002e0a | 98 | public static final String FALSE2 = "FALSE"; //$NON-NLS-1$ |
9ac2eb62 | 99 | /** False */ |
07002e0a | 100 | public static final String FALSE = "false"; //$NON-NLS-1$ |
9ac2eb62 | 101 | /** True */ |
07002e0a | 102 | public static final String TRUE2 = "TRUE"; //$NON-NLS-1$ |
9ac2eb62 | 103 | /** True */ |
07002e0a | 104 | public static final String TRUE = "true"; //$NON-NLS-1$ |
9ac2eb62 | 105 | /** Minor (Vresion)*/ |
07002e0a | 106 | public static final String MINOR = "minor"; //$NON-NLS-1$ |
9ac2eb62 | 107 | /** Major (Vresion)*/ |
07002e0a MK |
108 | public static final String MAJOR = "major"; //$NON-NLS-1$ |
109 | ||
07002e0a | 110 | } |