StateTransitor.stateNames

Set/Get state names

  1. void stateNames(in string[stateCount] names)
    struct StateTransitor(StateType, EventType, StateType defaultStateParameter = StateType.init, ProcHandler = void delegate()[], ExceptionHandler = void delegate(Exception)[], EventHandler = void delegate(EventType)[], StateChangedHandler = void delegate(StateType newSts, StateType oldSts)[], ConsumeMode consumeMode = ConsumeMode.combined, EventContainer = SList!EventType)
    void
    stateNames
    @safe @nogc nothrow pure @property
    (
    in string[stateCount] names
    )
  2. const(string)[] stateNames()
  3. void setStateName(State st, string stname)
  4. string getStateName(State st)

Meta