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