コード例 #1
0
    private void  fromJSONDoorSelection(JSONValue json_value, bool ignore_extras)
    {
        Debug.Assert(json_value != null);
        CarControlDoorSelectionJSON convert_classy = CarControlDoorSelectionJSON.from_json(json_value, ignore_extras, true);

        setDoorSelection(convert_classy);
    }
コード例 #2
0
 public void setDoorSelection(CarControlDoorSelectionJSON new_value)
 {
     if (flagHasDoorSelection)
     {
     }
     flagHasDoorSelection = true;
     storeDoorSelection   = new_value;
 }
コード例 #3
0
        protected void finish()
        {
            Debug.Assert(have_value);
            CarControlDoorSelectionJSON result = new CarControlDoorSelectionJSON();

            result.initValue();
            int count = value.Count;

            for (int num = 0; num < count; ++num)
            {
                result.appendValue(value[num]);
            }
            handle_result(result);
        }
コード例 #4
0
 protected override void handle_result(CarControlDoorSelectionJSON result)
 {
     top.value.Add(result);
 }
コード例 #5
0
        protected override void handle_result(CarControlDoorSelectionJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
コード例 #6
0
 protected abstract void handle_result(CarControlDoorSelectionJSON new_result);