Enum Class PrintFlags

java.lang.Object
java.lang.Enum<PrintFlags>
org.opentrafficsim.trafficcontrol.trafcod.PrintFlags
All Implemented Interfaces:
Serializable, Comparable<PrintFlags>, Constable

enum PrintFlags extends Enum<PrintFlags>
Flags for toString method of a Variable.
  • Enum Constant Details

    • ID

      public static final PrintFlags ID
      The name and stream of the Variable.
    • VALUE

      public static final PrintFlags VALUE
      The value of the Variable.
    • INITTIMER

      public static final PrintFlags INITTIMER
      Print "I" before the name (indicates that a timer is initialized).
    • REINITTIMER

      public static final PrintFlags REINITTIMER
      Print "RI" before the name (indicates that a timer is re-initialized).
    • S

      public static final PrintFlags S
      Print value as "1" if just set, else print "0".
    • E

      public static final PrintFlags E
      Print value as "1" if just reset, else print "0".
    • NEGATED

      public static final PrintFlags NEGATED
      Print the negated Variable.
    • FLAGS

      public static final PrintFlags FLAGS
      Print the flags of the Variable.
    • MODIFY_TIME

      public static final PrintFlags MODIFY_TIME
      Print the time of last modification of the Variable.
  • Method Details

    • values

      public static PrintFlags[] 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 PrintFlags 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