Пример #1
0
 public virtual void incromentInputs() {
     inputSize++;
     Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize);
     for(int i =0; i < inputSize - 1; i++) {
         newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i);
     }
     inputs = newInputs;
 }
Пример #2
0
 public virtual void decromentInputs() {
     if(inputSize > 1) {
         inputSize--;
     }
     Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize);
     for (int i = 0; i < inputSize; i++) {
         newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i);
     }
     inputs = newInputs;
 }
Пример #3
0
    public virtual void incromentInputs()
    {
        inputSize++;
        Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize);

        for (int i = 0; i < inputSize - 1; i++)
        {
            newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i);
        }
        inputs = newInputs;
    }
Пример #4
0
 public override void incromentInputs() {
     inputSize++;
     Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize);
     bool[] newIsDesc = new bool[inputSize];
     for (int i = 0; i < inputSize - 1; i++) {
         newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i);
         newIsDesc[i] = isDesc[i];
     }                  
     inputs = newInputs;
     isDesc = newIsDesc;
 }
Пример #5
0
    public override void incromentInputs()
    {
        inputSize++;
        Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize);

        bool[] newIsDesc = new bool[inputSize];
        for (int i = 0; i < inputSize - 1; i++)
        {
            newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i);
            newIsDesc[i] = isDesc[i];
        }
        inputs = newInputs;
        isDesc = newIsDesc;
    }
Пример #6
0
    public virtual void decromentInputs()
    {
        if (inputSize > 1)
        {
            inputSize--;
        }
        Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize);

        for (int i = 0; i < inputSize; i++)
        {
            newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i);
        }
        inputs = newInputs;
    }
Пример #7
0
    public virtual bool addInput(Vid_Object obj, int argumentIndex)
    {
        bool b = inputs.setInput_atIndex(obj, argumentIndex);

        return(b);
    }