/*
 *    GeoTools - OpenSource mapping toolkit
 *    http://geotools.org
 *    (C) 2003-2006, Geotools Project Managment Committee (PMC)
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation; either
 *    version 2.1 of the License, or (at your option) any later version.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 */
package org.geotools.data.vpf.io;

import org.geotools.data.vpf.ifc.VPFRow;


/**
 * VariableIndexRow.java Created: Sun Mar 16 23:28:11 2003
 *
 * @author <a href="mailto:kobit@users.sourceforge.net">Artur Hefczyc</a>
 * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/vpf/src/main/java/org/geotools/data/vpf/io/VariableIndexRow.java $
 * @version $Id: VariableIndexRow.java 22482 2006-10-31 02:58:00Z desruisseaux $
 */
public class VariableIndexRow implements VPFRow {
    /** Describe variable <code>offset</code> here. */
    private int offset = 0;

    /** Describe variable <code>size</code> here. */
    private int size = 0;

    /**
     * Creates a new <code>VariableIndexRow</code> instance.
     *
     * @param offset an <code>int</code> value
     * @param size an <code>int</code> value
     */
    public VariableIndexRow(int offset, int size) {
        this.offset = offset;
        this.size = size;
    }

    // VariableIndexRow constructor

    /**
     * Gets the value of offset
     *
     * @return the value of offset
     */
    public int getOffset() {
        return this.offset;
    }

    //   /**
    //    * Sets the value of offset
    //    *
    //    * @param argOffset Value to assign to this.offset
    //    */
    //   public void setOffset(int argOffset) {
    //     this.offset = argOffset;
    //   }

    /**
     * Gets the value of size
     *
     * @return the value of size
     */
    public int getSize() {
        return this.size;
    }

    //   /**
    //    * Sets the value of size
    //    *
    //    * @param argSize Value to assign to this.size
    //    */
    //   public void setSize(int argSize) {
    //     this.size = argSize;
    //   }
}

// VariableIndexRow
