/*
 * Copyright IBM Corp. and others 2006
 *
 * 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/
 * or the Apache License, Version 2.0 which accompanies this distribution and
 * is available at https://www.apache.org/licenses/LICENSE-2.0.
 *
 * This Source Code may also be made available under the following
 * Secondary Licenses when the conditions for such availability set
 * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
 * General Public License, version 2 with the GNU Classpath
 * Exception [1] and GNU General Public License, version 2 with the
 * OpenJDK Assembly Exception [2].
 *
 * [1] https://www.gnu.org/software/classpath/license.html
 * [2] https://openjdk.org/legal/assembly-exception.html
 *
 * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0
 */
package com.ibm.j9ddr.corereaders.tdump.zebedee.le;

import javax.imageio.stream.ImageInputStream;
import java.io.IOException;

/* This class was generated automatically by com.ibm.zebedee.util.Xml2Java */

public final class Caa32Template implements CaaTemplate {

    public int length() {
        return 1892;
    }

    public long getCeecaalevel(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 688);
        return inputStream.readByte();
    }
    public int getCeecaalevel$offset() {
        return 688;
    }
    public int getCeecaalevel$length() {
        return 8;
    }
    public long getCeecaaddsa(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 736);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaaddsa$offset() {
        return 736;
    }
    public int getCeecaaddsa$length() {
        return 32;
    }
    public long getCeecaaedb(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 752);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaaedb$offset() {
        return 752;
    }
    public int getCeecaaedb$length() {
        return 32;
    }
    public long getCeecaathdid(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 828);
        return inputStream.readLong();
    }
    public int getCeecaathdid$offset() {
        return 828;
    }
    public int getCeecaathdid$length() {
        return 64;
    }
    public long getCeecaarcb(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 848);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaarcb$offset() {
        return 848;
    }
    public int getCeecaarcb$length() {
        return 32;
    }
    public long getCeecaa_stackfloor(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 868);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaa_stackfloor$offset() {
        return 868;
    }
    public int getCeecaa_stackfloor$length() {
        return 32;
    }
    public long getCeecaa_stackdirection(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 925);
        return inputStream.readByte();
    }
    public int getCeecaa_stackdirection$offset() {
        return 925;
    }
    public int getCeecaa_stackdirection$length() {
        return 8;
    }
    public long getCeecaasmcb(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 1020);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaasmcb$offset() {
        return 1020;
    }
    public int getCeecaasmcb$length() {
        return 32;
    }
    public long getCeecaaerrcm(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 1024);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaaerrcm$offset() {
        return 1024;
    }
    public int getCeecaaerrcm$length() {
        return 32;
    }
    public long getCeecaavba(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 1100);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaavba$offset() {
        return 1100;
    }
    public int getCeecaavba$length() {
        return 32;
    }
    public long getCeecaatcs(ImageInputStream inputStream, long address) throws IOException {
        inputStream.seek(address + 1104);
        return inputStream.readUnsignedInt() & 0xffffffffL;
    }
    public int getCeecaatcs$offset() {
        return 1104;
    }
    public int getCeecaatcs$length() {
        return 32;
    }
}
