示例#1
0
        private void  fromJSONUberProducts(JSONValue json_value, bool ignore_extras)
        {
            Debug.Assert(json_value != null);
            UberCompositeProductsJSON convert_classy = UberCompositeProductsJSON.from_json(json_value, ignore_extras, true);

            setUberProducts(convert_classy);
        }
示例#2
0
 public void setUberProducts(UberCompositeProductsJSON new_value)
 {
     if (flagHasUberProducts)
     {
     }
     flagHasUberProducts = true;
     storeUberProducts   = new_value;
 }
示例#3
0
        protected void finish()
        {
            Debug.Assert(have_value);
            UberCompositeProductsJSON result = new UberCompositeProductsJSON();

            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(UberCompositeProductsJSON result)
 {
     top.value.Add(result);
 }
示例#5
0
        protected override void handle_result(UberCompositeProductsJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
示例#6
0
 protected abstract void handle_result(UberCompositeProductsJSON new_result);