public FunctionPtrVector(FunctionPtrVector other) : this(CNTKLibPINVOKE.new_FunctionPtrVector__SWIG_1(FunctionPtrVector.getCPtr(other)), true) { if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
public FunctionPtrVectorEnumerator(FunctionPtrVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, FunctionPtrVector values) { CNTKLibPINVOKE.FunctionPtrVector_SetRange(swigCPtr, index, FunctionPtrVector.getCPtr(values)); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
private FunctionPtrVector _FindAllWithName(string name) { FunctionPtrVector ret = new FunctionPtrVector(CNTKLibPINVOKE.Function__FindAllWithName__SWIG_1(swigCPtr, name), true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private FunctionPtrVector _FindAllWithName(string name, bool nestedSearchInsideBlockFunction) { FunctionPtrVector ret = new FunctionPtrVector(CNTKLibPINVOKE.Function__FindAllWithName__SWIG_0(swigCPtr, name, nestedSearchInsideBlockFunction), true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static FunctionPtrVector Repeat(Function value, int count) { global::System.IntPtr cPtr = CNTKLibPINVOKE.FunctionPtrVector_Repeat(Function.getCPtr(value), count); FunctionPtrVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new FunctionPtrVector(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public FunctionPtrVector GetRange(int index, int count) { global::System.IntPtr cPtr = CNTKLibPINVOKE.FunctionPtrVector_GetRange(swigCPtr, index, count); FunctionPtrVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new FunctionPtrVector(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FunctionPtrVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }