/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 2.0.7
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.sundogsoftware.silverlining;

public final class CloudTypes {
  public final static CloudTypes CIRROCUMULUS = new CloudTypes("CIRROCUMULUS");
  public final static CloudTypes CIRRUS_FIBRATUS = new CloudTypes("CIRRUS_FIBRATUS");
  public final static CloudTypes STRATUS = new CloudTypes("STRATUS");
  public final static CloudTypes CUMULUS_MEDIOCRIS = new CloudTypes("CUMULUS_MEDIOCRIS");
  public final static CloudTypes CUMULUS_CONGESTUS = new CloudTypes("CUMULUS_CONGESTUS");
  public final static CloudTypes CUMULONIMBUS_CAPPILATUS = new CloudTypes("CUMULONIMBUS_CAPPILATUS");
  public final static CloudTypes STRATOCUMULUS = new CloudTypes("STRATOCUMULUS");
  public final static CloudTypes NUM_CLOUD_TYPES = new CloudTypes("NUM_CLOUD_TYPES");

  public final int swigValue() {
    return swigValue;
  }

  public String toString() {
    return swigName;
  }

  public static CloudTypes swigToEnum(int swigValue) {
    if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
      return swigValues[swigValue];
    for (int i = 0; i < swigValues.length; i++)
      if (swigValues[i].swigValue == swigValue)
        return swigValues[i];
    throw new IllegalArgumentException("No enum " + CloudTypes.class + " with value " + swigValue);
  }

  private CloudTypes(String swigName) {
    this.swigName = swigName;
    this.swigValue = swigNext++;
  }

  private CloudTypes(String swigName, int swigValue) {
    this.swigName = swigName;
    this.swigValue = swigValue;
    swigNext = swigValue+1;
  }

  private CloudTypes(String swigName, CloudTypes swigEnum) {
    this.swigName = swigName;
    this.swigValue = swigEnum.swigValue;
    swigNext = this.swigValue+1;
  }

  private static CloudTypes[] swigValues = { CIRROCUMULUS, CIRRUS_FIBRATUS, STRATUS, CUMULUS_MEDIOCRIS, CUMULUS_CONGESTUS, CUMULONIMBUS_CAPPILATUS, STRATOCUMULUS, NUM_CLOUD_TYPES };
  private static int swigNext = 0;
  private final int swigValue;
  private final String swigName;
}

