tmedia_qos_strength_t.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 tmedia_qos_strength_t {
  10. tmedia_qos_strength_none,
  11. tmedia_qos_strength_failure,
  12. tmedia_qos_strength_unknown,
  13. tmedia_qos_strength_optional,
  14. tmedia_qos_strength_mandatory;
  15. public final int swigValue() {
  16. return swigValue;
  17. }
  18. public static tmedia_qos_strength_t swigToEnum(int swigValue) {
  19. tmedia_qos_strength_t[] swigValues = tmedia_qos_strength_t.class.getEnumConstants();
  20. if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
  21. return swigValues[swigValue];
  22. for (tmedia_qos_strength_t swigEnum : swigValues)
  23. if (swigEnum.swigValue == swigValue)
  24. return swigEnum;
  25. throw new IllegalArgumentException("No enum " + tmedia_qos_strength_t.class + " with value " + swigValue);
  26. }
  27. @SuppressWarnings("unused")
  28. private tmedia_qos_strength_t() {
  29. this.swigValue = SwigNext.next++;
  30. }
  31. @SuppressWarnings("unused")
  32. private tmedia_qos_strength_t(int swigValue) {
  33. this.swigValue = swigValue;
  34. SwigNext.next = swigValue+1;
  35. }
  36. @SuppressWarnings("unused")
  37. private tmedia_qos_strength_t(tmedia_qos_strength_t swigEnum) {
  38. this.swigValue = swigEnum.swigValue;
  39. SwigNext.next = this.swigValue+1;
  40. }
  41. private final int swigValue;
  42. private static class SwigNext {
  43. private static int next = 0;
  44. }
  45. }