blob: 540e3d83d9eb83587a332db9c0aa367bfefaa7f7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014 Ericsson
*
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Matthew Khouzam - Initial API and implementation
*******************************************************************************/
package org.eclipse.tracecompass.ctf.core.event.types;
import java.nio.ByteOrder;
/**
* Common interface for simple CTF data types (which do not contain sub-fields).
*
* @author Matthew Khouzam
*/
public interface ISimpleDatatypeDeclaration {
/**
* Is the byte order set
*
* @return If the byte order was set
* @since 2.0
*/
public boolean isByteOrderSet();
/**
* Get the byte order
*
* @return the byte order, or @link {@link ByteOrder#nativeOrder()} if not
* set
* @since 2.0
*/
public ByteOrder getByteOrder();
}