ctf: preserve byte order if explicitly set in a typedef
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / event / types / ISimpleDatatypeDeclaration.java
CommitLineData
8fa270f6
MK
1/*******************************************************************************
2 * Copyright (c) 2014 Ericsson
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:
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
12
f357bcd4 13package org.eclipse.tracecompass.ctf.core.event.types;
8fa270f6 14
615b2145
MK
15import java.nio.ByteOrder;
16
8fa270f6
MK
17/**
18 * Common interface for simple CTF data types (which do not contain sub-fields).
19 *
20 * @author Matthew Khouzam
8fa270f6
MK
21 */
22public interface ISimpleDatatypeDeclaration {
23
615b2145
MK
24 /**
25 * Is the byte order set
26 *
27 * @return If the byte order was set
28 * @since 2.0
29 */
30 public boolean isByteOrderSet();
31
32 /**
33 * Get the byte order
34 *
35 * @return the byte order, or @link {@link ByteOrder#nativeOrder()} if not
36 * set
37 * @since 2.0
38 */
39 public ByteOrder getByteOrder();
40
8fa270f6 41}
This page took 0.050806 seconds and 5 git commands to generate.