tsip_options_event_type_t.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* ----------------------------------------------------------------------------
  2. * This file was automatically generated by SWIG (http://www.swig.org).
  3. * Version 2.0.9
  4. *
  5. * Do not make changes to this file unless you know what you are doing--modify
  6. * the SWIG interface file instead.
  7. * ----------------------------------------------------------------------------- */
  8. package org.doubango.tinyWRAP;
  9. public enum tsip_options_event_type_t {
  10. tsip_i_options,
  11. tsip_ao_options;
  12. public final int swigValue() {
  13. return swigValue;
  14. }
  15. public static tsip_options_event_type_t swigToEnum(int swigValue) {
  16. tsip_options_event_type_t[] swigValues = tsip_options_event_type_t.class.getEnumConstants();
  17. if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
  18. return swigValues[swigValue];
  19. for (tsip_options_event_type_t swigEnum : swigValues)
  20. if (swigEnum.swigValue == swigValue)
  21. return swigEnum;
  22. throw new IllegalArgumentException("No enum " + tsip_options_event_type_t.class + " with value " + swigValue);
  23. }
  24. @SuppressWarnings("unused")
  25. private tsip_options_event_type_t() {
  26. this.swigValue = SwigNext.next++;
  27. }
  28. @SuppressWarnings("unused")
  29. private tsip_options_event_type_t(int swigValue) {
  30. this.swigValue = swigValue;
  31. SwigNext.next = swigValue+1;
  32. }
  33. @SuppressWarnings("unused")
  34. private tsip_options_event_type_t(tsip_options_event_type_t swigEnum) {
  35. this.swigValue = swigEnum.swigValue;
  36. SwigNext.next = this.swigValue+1;
  37. }
  38. private final int swigValue;
  39. private static class SwigNext {
  40. private static int next = 0;
  41. }
  42. }