Example #1
0
    public SWIGTYPE_p_unsigned_char GetPixelPtr(XYCoord xy)
    {
        global::System.IntPtr    cPtr = VisionLabPINVOKE.__NumByteImage_GetPixelPtr__SWIG_1(swigCPtr, XYCoord.getCPtr(xy));
        SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #2
0
        public SWIGTYPE_p_unsigned_char getCurrentPtr()
        {
            global::System.IntPtr    cPtr = OgrePINVOKE.MemoryDataStreamPtr_getCurrentPtr(swigCPtr);
            SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        internal SWIGTYPE_p_unsigned_char Erase(byte[] first, SWIGTYPE_p_unsigned_char last)
        {
            global::System.IntPtr    cPtr = Interop.VectorUnsignedChar.VectorUnsignedChar_Erase__SWIG_1(swigCPtr, first, SWIGTYPE_p_unsigned_char.getCPtr(last));
            SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
    public virtual SWIGTYPE_p_unsigned_char apply_to_string(SWIGTYPE_p_unsigned_char f, SWIGTYPE_p_int len)
    {
        IntPtr cPtr = modshogunPINVOKE.StringBytePreprocessor_apply_to_string(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(f), SWIGTYPE_p_int.getCPtr(len));
        SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
        public SWIGTYPE_p_unsigned_char getTopLeftFrontPixelPtr()
        {
            global::System.IntPtr    cPtr = OgrePINVOKE.PixelBox_getTopLeftFrontPixelPtr(swigCPtr);
            SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
        internal SWIGTYPE_p_unsigned_char Erase(byte[] iterator)
        {
            global::System.IntPtr    cPtr = NDalicPINVOKE.VectorUnsignedChar_Erase__SWIG_0(swigCPtr, iterator);
            SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
    public SWIGTYPE_p_unsigned_char get_array()
    {
        IntPtr cPtr = modshogunPINVOKE.DynamicByteArray_get_array(swigCPtr);
        SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #8
0
        internal SWIGTYPE_p_unsigned_char End()
        {
            global::System.IntPtr    cPtr = Interop.VectorUnsignedChar.End(SwigCPtr);
            SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
        public SWIGTYPE_p_unsigned_char GetBuffer()
        {
            global::System.IntPtr    cPtr = Interop.BufferImage.BufferImage_GetBuffer(swigCPtr);
            SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
        public SWIGTYPE_p_unsigned_char getData()
        {
            global::System.IntPtr    cPtr = OgrePINVOKE.Image_getData__SWIG_0(swigCPtr);
            SWIGTYPE_p_unsigned_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #11
0
        private ImageInfo GetBitmapFormImage(string file)
        {
            ImageData    imageData = null;
            PreviewImage image     = null;

            try {
                string fileExtension = Path.GetExtension(file).Substring(1);
                if (fileExtension == "xmp" || fileExtension == "pp3" || fileExtension == "ini")
                {
                    return(null);
                }
                image = new PreviewImage(file, fileExtension, PreviewImage.PreviewImageMode.PIM_EmbeddedOrRaw);

                Bitmap bmp;
                int    imageW       = image.getWidth();
                int    imageH       = image.getHeight();
                Format imageFormat  = image.getPixelFormat();
                int    imageStride  = image.getStride();
                IntPtr imagePointer = SWIGTYPE_p_unsigned_char.getCPtr(image.getImagePtr()).Handle;
                int    bytes        = imageStride * imageH;
                byte[] rgbValues;
                rgbValues = new byte[bytes];
                Marshal.Copy(imagePointer, rgbValues, 0, bytes);
                bmp = new Bitmap(imageW, imageH, imageStride, System.Drawing.Imaging.PixelFormat.Format32bppRgb, Marshal.UnsafeAddrOfPinnedArrayElement(rgbValues, 0));
                ImageInfo result = new ImageInfo();
                imageData = new ImageData(file);

                result.image       = bmp;
                result.height      = imageH;//!!
                result.width       = imageW;
                result.shutter     = (float)imageData.getShutterSpeed();
                result.producer    = imageData.getMake();
                result.model       = imageData.getModel();
                result.artist      = "";
                result.iso         = imageData.getISOSpeed();
                result.focalLength = (float)imageData.getFocalLen();
                return(result);
            } finally {
                if (image != null)
                {
                    image.Dispose();
                }
                //bmp.Dispose();
                if (imageData != null)
                {
                    imageData.Dispose();
                }
            }
        }
Example #12
0
        static SWIGTYPE_p_unsigned_char IntArrayToSWIGTYPE(int[] array, int len)
        {
            int size = len * sizeof(int);

            IntPtr structPtr = Marshal.AllocHGlobal(size);

            Marshal.Copy(array, 0, structPtr, len);

            byte[] bytes = new byte[size];
            Marshal.Copy(structPtr, bytes, 0, size);
            Marshal.FreeHGlobal(structPtr);

            uint8_t_ARRAY _arr = new uint8_t_ARRAY(size);

            for (int i = 0; i < size; i++)
            {
                _arr[i] = bytes[i];
            }
            SWIGTYPE_p_unsigned_char pointer = _arr.cast();

            return(pointer);
        }
Example #13
0
        public bool getESTOPStatus4(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getESTOPStatus4(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #14
0
        public bool getDigitalIOOutputMon2(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getDigitalIOOutputMon2(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #15
0
        public bool getBumperInput(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getBumperInput(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #16
0
 public virtual void get_matrix(SWIGTYPE_p_unsigned_char matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) {
   modshogunPINVOKE.File_get_matrix__SWIG_1(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #17
0
 public static uint MurmurHash2(SWIGTYPE_p_unsigned_char data, int len, uint seed) {
   uint ret = modshogunPINVOKE.Hash_MurmurHash2(SWIGTYPE_p_unsigned_char.getCPtr(data), len, seed);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #18
0
 public ByteMatrix(SWIGTYPE_p_unsigned_char m, int nrows, int ncols) : this(modshogunPINVOKE.new_ByteMatrix__SWIG_2(SWIGTYPE_p_unsigned_char.getCPtr(m), nrows, ncols), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #19
0
 public virtual void get_string_and_label(SWIGTYPE_p_unsigned_char vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label) {
   modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_1(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public XsByteArrayImpl(SWIGTYPE_p_unsigned_char arg0, uint sz, XsDataFlags flags) : this(xsensdeviceapiPINVOKE.new_XsByteArrayImpl__SWIG_4(SWIGTYPE_p_unsigned_char.getCPtr(arg0), sz, (int)flags), true)
 {
 }
Example #21
0
        public bool getDigitalBankInputs(int bank, SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getDigitalBankInputs(swigCPtr, bank, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #22
0
        public bool setPeripheralPower3(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_setPeripheralPower3(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #23
0
 public void set_array(SWIGTYPE_p_unsigned_char p_array, int p_num_elements, int array_size) {
   modshogunPINVOKE.DynamicByteArray_set_array(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(p_array), p_num_elements, array_size);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #24
0
 public ByteVector(SWIGTYPE_p_unsigned_char v, int len) : this(modshogunPINVOKE.new_ByteVector__SWIG_2(SWIGTYPE_p_unsigned_char.getCPtr(v), len), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #25
0
        public bool setLIDARControl(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_setLIDARControl(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #26
0
 public override void get_string(SWIGTYPE_p_unsigned_char vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_1(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void assign(uint count, SWIGTYPE_p_unsigned_char src)
 {
     xsensdeviceapiPINVOKE.XsByteArrayImpl_assign(swigCPtr, count, SWIGTYPE_p_unsigned_char.getCPtr(src));
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_char obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Example #29
0
    public static ZenAsyncStatus ZenSensorUpdateIAPAsync(ZenClientHandle_t clientHandle, ZenSensorHandle_t sensorHandle, SWIGTYPE_p_unsigned_char buffer, uint bufferSize)
    {
        ZenAsyncStatus ret = (ZenAsyncStatus)OpenZenPINVOKE.ZenSensorUpdateIAPAsync(ZenClientHandle_t.getCPtr(clientHandle), ZenSensorHandle_t.getCPtr(sensorHandle), SWIGTYPE_p_unsigned_char.getCPtr(buffer), bufferSize);

        if (OpenZenPINVOKE.SWIGPendingException.Pending)
        {
            throw OpenZenPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #30
0
 public double get_log_likelihood_window(SWIGTYPE_p_unsigned_char window, int len, double pos) {
   double ret = modshogunPINVOKE.PositionalPWM_get_log_likelihood_window(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(window), len, pos);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_char obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public static void LUT(ByteImage image, byte minPixel, SWIGTYPE_p_unsigned_char tab) {
   VisionLabPINVOKE.LUT__SWIG_2(ByteImage.getCPtr(image), minPixel, SWIGTYPE_p_unsigned_char.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Example #33
0
 public virtual void get_vector(SWIGTYPE_p_unsigned_char vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingFile_get_vector__SWIG_1(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #34
0
 public bool MaterialMatch(ByteBuffer buf, SWIGTYPE_p_unsigned_char min, SWIGTYPE_p_unsigned_char max, patternT pattern, int minPly, int maxPly, int matchLength, bool oppBishops, bool sameBishops, int minDiff, int maxDiff) {
   bool ret = ScidPINVOKE.Game_MaterialMatch(swigCPtr, ByteBuffer.getCPtr(buf), SWIGTYPE_p_unsigned_char.getCPtr(min), SWIGTYPE_p_unsigned_char.getCPtr(max), patternT.getCPtr(pattern), minPly, maxPly, matchLength, oppBishops, sameBishops, minDiff, maxDiff);
   return ret;
 }
Example #35
0
 public ByteNDArray(SWIGTYPE_p_unsigned_char a, SWIGTYPE_p_int d, int nd) : this(modshogunPINVOKE.new_ByteNDArray__SWIG_1(SWIGTYPE_p_unsigned_char.getCPtr(a), SWIGTYPE_p_int.getCPtr(d), nd), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #36
0
 public bool isEqual(SWIGTYPE_p_unsigned_char board, SWIGTYPE_p_unsigned_char nPiecesW, SWIGTYPE_p_unsigned_char nPiecesB) {
   bool ret = ScidPINVOKE.FastBoard_isEqual(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(board), SWIGTYPE_p_unsigned_char.getCPtr(nPiecesW), SWIGTYPE_p_unsigned_char.getCPtr(nPiecesB));
   return ret;
 }
 public static void TMEdgeDetection(ByteImage src, ByteImage destMag, ByteImage destDir, int nrMasks, Mask_Int32 maskTab, SWIGTYPE_p_unsigned_char alfaTab, Gradient grad) {
   VisionLabPINVOKE.TMEdgeDetection__SWIG_1(ByteImage.getCPtr(src), ByteImage.getCPtr(destMag), ByteImage.getCPtr(destDir), nrMasks, Mask_Int32.getCPtr(maskTab), SWIGTYPE_p_unsigned_char.getCPtr(alfaTab), (int)grad);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Example #38
0
 public void ProvideExternal(SWIGTYPE_p_unsigned_char data, uint length) {
   ScidPINVOKE.ByteBuffer_ProvideExternal(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(data), length);
 }
Example #39
0
 public static void MD5(SWIGTYPE_p_unsigned_char x, uint l, SWIGTYPE_p_unsigned_char buf) {
   modshogunPINVOKE.Hash_MD5(SWIGTYPE_p_unsigned_char.getCPtr(x), l, SWIGTYPE_p_unsigned_char.getCPtr(buf));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #40
0
 public void CopyTo(SWIGTYPE_p_unsigned_char target) {
   ScidPINVOKE.ByteBuffer_CopyTo(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(target));
 }
Example #41
0
        public bool getPeripheralPowerBankOutputs(int bank, SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getPeripheralPowerBankOutputs(swigCPtr, bank, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
 public static int stbi_is_hdr_from_memory(SWIGTYPE_p_unsigned_char buffer, int len) {
   int ret = OpenGLSupportPINVOKE.stbi_is_hdr_from_memory(SWIGTYPE_p_unsigned_char.getCPtr(buffer), len);
   return ret;
 }
Example #43
0
        public bool setSemaphore4(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_setSemaphore4(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
 public static int stbi_info_from_memory(SWIGTYPE_p_unsigned_char buffer, int len, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp) {
   int ret = OpenGLSupportPINVOKE.stbi_info_from_memory(SWIGTYPE_p_unsigned_char.getCPtr(buffer), len, SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp));
   return ret;
 }
Example #45
0
        public bool getLIDARSafety(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getLIDARSafety(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
 public static SWIGTYPE_p_float stbi_loadf_from_memory(SWIGTYPE_p_unsigned_char buffer, int len, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp, int req_comp) {
   IntPtr cPtr = OpenGLSupportPINVOKE.stbi_loadf_from_memory(SWIGTYPE_p_unsigned_char.getCPtr(buffer), len, SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp), req_comp);
   SWIGTYPE_p_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
   return ret;
 }
Example #47
0
        public bool setDigitalOutputControl2(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_setDigitalOutputControl2(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
 public XYCoord GetXYCoord(SWIGTYPE_p_unsigned_char ptr) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumByteImage_GetXYCoord(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(ptr)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #49
0
        public bool getMotionPowerStatus(SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getMotionPowerStatus(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #50
0
 public static int board_Compare(SWIGTYPE_p_unsigned_char b1, SWIGTYPE_p_unsigned_char b2) {
   int ret = ScidPINVOKE.board_Compare(SWIGTYPE_p_unsigned_char.getCPtr(b1), SWIGTYPE_p_unsigned_char.getCPtr(b2));
   return ret;
 }
Example #51
0
        public bool getRegValue(ushort reg, SWIGTYPE_p_unsigned_char val)
        {
            bool ret = AriaCSPINVOKE.ArMTXIO_getRegValue(swigCPtr, reg, SWIGTYPE_p_unsigned_char.getCPtr(val));

            return(ret);
        }
Example #52
0
 public static int gzread(SWIGTYPE_p_void fp, SWIGTYPE_p_unsigned_char buffer, int length) {
   int ret = ScidPINVOKE.gzread(SWIGTYPE_p_void.getCPtr(fp), SWIGTYPE_p_unsigned_char.getCPtr(buffer), length);
   return ret;
 }
 public void insert(SWIGTYPE_p_unsigned_char items, uint index, uint count)
 {
     xsensdeviceapiPINVOKE.XsByteArrayImpl_insert__SWIG_1(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(items), index, count);
 }
Example #54
0
 public Wave(SWIGTYPE_p_unsigned_char raw, int length)
     : this(libwavPINVOKE.new_Wave__SWIG_2(SWIGTYPE_p_unsigned_char.getCPtr(raw), length), true)
 {
     if (libwavPINVOKE.SWIGPendingException.Pending) throw libwavPINVOKE.SWIGPendingException.Retrieve();
 }
 public XsByteArrayImpl(uint count, SWIGTYPE_p_unsigned_char src) : this(xsensdeviceapiPINVOKE.new_XsByteArrayImpl__SWIG_0(count, SWIGTYPE_p_unsigned_char.getCPtr(src)), true)
 {
 }
Example #56
0
 public override void set_matrix(SWIGTYPE_p_unsigned_char matrix, int num_feat, int num_vec) {
   modshogunPINVOKE.BinaryFile_set_matrix__SWIG_0(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(matrix), num_feat, num_vec);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public XsByteArrayImpl(SWIGTYPE_p_unsigned_char arg0, uint sz) : this(xsensdeviceapiPINVOKE.new_XsByteArrayImpl__SWIG_5(SWIGTYPE_p_unsigned_char.getCPtr(arg0), sz), true)
 {
 }
Example #58
0
 public virtual void set_ndarray(SWIGTYPE_p_unsigned_char array, SWIGTYPE_p_int dims, int num_dims) {
   modshogunPINVOKE.BinaryFile_set_ndarray__SWIG_0(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), num_dims);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #59
0
 public string getSAN(SWIGTYPE_p_unsigned_char toMove) {
   string ret = ScidPINVOKE.FullMove_getSAN__SWIG_0(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(toMove));
   return ret;
 }
Example #60
0
 public override void get_vector(SWIGTYPE_p_unsigned_char vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.BinaryFile_get_vector__SWIG_0(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }