Enum Class OptionCategory

java.lang.Object
java.lang.Enum<OptionCategory>
io.github.cvc5.modes.OptionCategory
All Implemented Interfaces:
Serializable, Comparable<OptionCategory>, Constable

public enum OptionCategory extends Enum<OptionCategory>
Enum representing the set of possible values for OptionCategory.
  • Enum Constant Details

    • REGULAR

      public static final OptionCategory REGULAR
      Option available to regular users
    • EXPERT

      public static final OptionCategory EXPERT
      Option available to expert users
    • COMMON

      public static final OptionCategory COMMON
      Common options
    • UNDOCUMENTED

      public static final OptionCategory UNDOCUMENTED
      Undocumented options
  • Method Details

    • values

      public static OptionCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OptionCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromInt

      public static OptionCategory fromInt(int value) throws CVC5ApiException
      Converts an integer value to the corresponding enum constant.
      Parameters:
      value - the integer representation of the enum constant.
      Returns:
      the corresponding enum constant for the given integer value.
      Throws:
      CVC5ApiException - if the value is outside the valid range, or if no corresponding enum constant exists.
    • getValue

      public int getValue()
      Get the integer value associated with this enum constant.
      Returns:
      the integer representation of the enum constant.