package org.gnode.nix;

import org.bytedeco.javacpp.Loader;
import org.bytedeco.javacpp.Pointer;
import org.bytedeco.javacpp.annotation.Namespace;
import org.bytedeco.javacpp.annotation.Platform;

@Platform(value = "linux",
        include = {"<nix/Dimensions.hpp>"},
        link = {"nix"})
@Namespace("nix")
public class RangeDimension extends Pointer {
    static {
        Loader.load();
    }

    //--------------------------------------------------
    // Constructors
    //--------------------------------------------------

    /**
     * Constructor that creates an uninitialized RangeDimension.
     * <p/>
     * Calling any method on an uninitialized dimension will throw a {@link java.lang.RuntimeException}.
     */
    public RangeDimension() {
        allocate();
    }

    private native void allocate();
}

@@ -86,24 +86,69 @@
 pp.Pointer;%0A
+import org.bytedeco.javacpp.annotation.Cast;%0A
 import org.b
@@ -862,11 +862,393 @@
 ocate();
+%0A%0A    //--------------------------------------------------%0A    // Base class methods%0A    //--------------------------------------------------%0A%0A    private native%0A    @Cast(%22bool%22)%0A    boolean isNone();%0A%0A    /**%0A     * Checks if dimension is initialized%0A     *%0A     * @return true if initialized else false%0A     */%0A    public boolean isInitialized() %7B%0A        return !isNone();%0A    %7D
 %0A%7D%0A

add base class methods