Beispiel #1
0
 public StdVecPairi(StdVecPairi other) : this(eogmaneoPINVOKE.new_StdVecPairi__SWIG_1(StdVecPairi.getCPtr(other)), true)
 {
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public StdVecPairiEnumerator(StdVecPairi collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void create(StdVecPairi inputSizes, StdVeci inputChunkSizes, StdVecb predictInputs, StdVecLayerDesc layerDescs, uint seed)
 {
     eogmaneoPINVOKE.Hierarchy_create(swigCPtr, StdVecPairi.getCPtr(inputSizes), StdVeci.getCPtr(inputChunkSizes), StdVecb.getCPtr(predictInputs), StdVecLayerDesc.getCPtr(layerDescs), seed);
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public void SetRange(int index, StdVecPairi values)
 {
     eogmaneoPINVOKE.StdVecPairi_SetRange(swigCPtr, index, StdVecPairi.getCPtr(values));
     if (eogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
        public static StdVecPairi Repeat(StdPairi value, int count)
        {
            global::System.IntPtr cPtr = eogmaneoPINVOKE.StdVecPairi_Repeat(StdPairi.getCPtr(value), count);
            StdVecPairi           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StdVecPairi(cPtr, true);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #6
0
        public StdVecPairi GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = eogmaneoPINVOKE.StdVecPairi_GetRange(swigCPtr, index, count);
            StdVecPairi           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StdVecPairi(cPtr, true);

            if (eogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw eogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StdVecPairi obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }