Esempio n. 1
0
 public CompoundConstraintsVectorEnumerator(CompoundConstraintsVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 2
0
 public static void generateVariablesAndConstraints(CompoundConstraintsVector ccs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.generateVariablesAndConstraints(CompoundConstraintsVector.getCPtr(ccs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void SetRange(int index, CompoundConstraintsVector values)
 {
     colaPINVOKE.CompoundConstraintsVector_SetRange(swigCPtr, index, CompoundConstraintsVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
        public static CompoundConstraintsVector Repeat(CompoundConstraint value, int count)
        {
            IntPtr cPtr = colaPINVOKE.CompoundConstraintsVector_Repeat(CompoundConstraint.getCPtr(value), count);
            CompoundConstraintsVector ret = (cPtr == IntPtr.Zero) ? null : new CompoundConstraintsVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public CompoundConstraintsVector GetRange(int index, int count)
        {
            IntPtr cPtr = colaPINVOKE.CompoundConstraintsVector_GetRange(swigCPtr, index, count);
            CompoundConstraintsVector ret = (cPtr == IntPtr.Zero) ? null : new CompoundConstraintsVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
 public void setYConstraints(CompoundConstraintsVector ccsy)
 {
     colaPINVOKE.ConstrainedFDLayout_setYConstraints(swigCPtr, CompoundConstraintsVector.getCPtr(ccsy));
 }
 public CompoundConstraintsVectorEnumerator(CompoundConstraintsVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
 internal static HandleRef getCPtr(CompoundConstraintsVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public void SetRange(int index, CompoundConstraintsVector values)
 {
     colaPINVOKE.CompoundConstraintsVector_SetRange(swigCPtr, index, CompoundConstraintsVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
 public void setXConstraints(CompoundConstraintsVector ccsx)
 {
     colaPINVOKE.ConstrainedMajorizationLayout_setXConstraints(swigCPtr, CompoundConstraintsVector.getCPtr(ccsx));
 }
Esempio n. 11
0
 public void setYConstraints(CompoundConstraintsVector ccsy)
 {
     colaPINVOKE.ConstrainedFDLayout_setYConstraints(swigCPtr, CompoundConstraintsVector.getCPtr(ccsy));
 }
Esempio n. 12
0
 public static void generateVariablesAndConstraints(CompoundConstraintsVector ccs, SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t vars, SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t cs)
 {
     colaPINVOKE.generateVariablesAndConstraints(CompoundConstraintsVector.getCPtr(ccs), SWIGTYPE_p_std__vectorT_vpsc__Variable_p_t.getCPtr(vars), SWIGTYPE_p_std__vectorT_vpsc__Constraint_p_t.getCPtr(cs));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 13
0
 internal static HandleRef getCPtr(CompoundConstraintsVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public void setXConstraints(CompoundConstraintsVector ccsx)
 {
     colaPINVOKE.ConstrainedMajorizationLayout_setXConstraints(swigCPtr, CompoundConstraintsVector.getCPtr(ccsx));
 }