Exemple #1
0
    public static SWIGTYPE_p_unsigned_char stbi_load_from_file(SWIGTYPE_p_FILE f, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp, int req_comp)
    {
        IntPtr cPtr = OpenGLSupportPINVOKE.stbi_load_from_file(SWIGTYPE_p_FILE.getCPtr(f), SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp), req_comp);
        SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

        return(ret);
    }
Exemple #2
0
 public void set_target(SWIGTYPE_p_FILE target)
 {
     modshogunPINVOKE.SGIO_set_target(swigCPtr, SWIGTYPE_p_FILE.getCPtr(target));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public virtual bool load(SWIGTYPE_p_FILE f)
    {
        bool ret = modshogunPINVOKE.SortUlongString_load(swigCPtr, SWIGTYPE_p_FILE.getCPtr(f));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #4
0
    public bool save_likelihood(SWIGTYPE_p_FILE file)
    {
        bool ret = modshogunPINVOKE.HMM_save_likelihood(swigCPtr, SWIGTYPE_p_FILE.getCPtr(file));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #5
0
    public bool save_path_derivatives_bin(SWIGTYPE_p_FILE file)
    {
        bool ret = modshogunPINVOKE.HMM_save_path_derivatives_bin(swigCPtr, SWIGTYPE_p_FILE.getCPtr(file));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #6
0
    public bool load_model(SWIGTYPE_p_FILE file)
    {
        bool ret = modshogunPINVOKE.HMM_load_model(swigCPtr, SWIGTYPE_p_FILE.getCPtr(file));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #7
0
    public virtual bool save(SWIGTYPE_p_FILE f)
    {
        bool ret = modshogunPINVOKE.LogPlusOne_save(swigCPtr, SWIGTYPE_p_FILE.getCPtr(f));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #8
0
    public virtual bool save(SWIGTYPE_p_FILE dstfile)
    {
        bool ret = modshogunPINVOKE.Machine_save(swigCPtr, SWIGTYPE_p_FILE.getCPtr(dstfile));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #9
0
    public bool save(SWIGTYPE_p_FILE f)
    {
        bool ret = modshogunPINVOKE.DecompressUlongString_save(swigCPtr, SWIGTYPE_p_FILE.getCPtr(f));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #10
0
    public bool load_definitions(SWIGTYPE_p_FILE file, bool verbose)
    {
        bool ret = modshogunPINVOKE.HMM_load_definitions__SWIG_1(swigCPtr, SWIGTYPE_p_FILE.getCPtr(file), verbose);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #11
0
    public static int stbi_is_hdr_from_file(SWIGTYPE_p_FILE f)
    {
        int ret = OpenGLSupportPINVOKE.stbi_is_hdr_from_file(SWIGTYPE_p_FILE.getCPtr(f));

        return(ret);
    }
Exemple #12
0
 public void set_error_log(SWIGTYPE_p_FILE log_file)
 {
     fannfixedPINVOKE.neural_net_set_error_log(swigCPtr, SWIGTYPE_p_FILE.getCPtr(log_file));
 }
Exemple #13
0
 public TagDirectoryTable(TagDirectory p, SWIGTYPE_p_FILE f, int memsize, int offset, TagType type, TagAttrib ta, ByteOrder border) : this(libPhotoAssistantImageProcessingPINVOKE.new_TagDirectoryTable__SWIG_2(TagDirectory.getCPtr(p), SWIGTYPE_p_FILE.getCPtr(f), memsize, offset, (int)type, TagAttrib.getCPtr(ta), (int)border), true)
 {
 }
Exemple #14
0
 public ArKeyHandler(bool blocking, bool addAriaExitCB, SWIGTYPE_p_FILE stream, bool takeKeysInConstructor) : this(AriaCSPINVOKE.new_ArKeyHandler__SWIG_0(blocking, addAriaExitCB, SWIGTYPE_p_FILE.getCPtr(stream), takeKeysInConstructor), true) {
 }
Exemple #15
0
 public void FPrintf(SWIGTYPE_p_FILE fp)
 {
     RakNetPINVOKE.RakWString_FPrintf(swigCPtr, SWIGTYPE_p_FILE.getCPtr(fp));
 }
Exemple #16
0
        public static string FGets(string pStr, int pSize, SWIGTYPE_p_FILE pStream)
        {
            string ret = FbxWrapperNativePINVOKE.FbxFileUtils_FGets(pStr, pSize, SWIGTYPE_p_FILE.getCPtr(pStream));

            return(ret);
        }
 public FileHandleDataStream(SWIGTYPE_p_FILE handle, ushort accessMode) : this(OgrePINVOKE.new_FileHandleDataStream__SWIG_0(SWIGTYPE_p_FILE.getCPtr(handle), accessMode), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public bool parseFile(SWIGTYPE_p_FILE file, string buffer, int bufferLength, bool continueOnErrors, string errorBuffer)
        {
            bool ret = AriaCSPINVOKE.ArFileParser_parseFile__SWIG_6(swigCPtr, SWIGTYPE_p_FILE.getCPtr(file), buffer, bufferLength, continueOnErrors, errorBuffer);

            return(ret);
        }
        public bool parseFile(SWIGTYPE_p_FILE file, string buffer, int bufferLength)
        {
            bool ret = AriaCSPINVOKE.ArFileParser_parseFile__SWIG_8(swigCPtr, SWIGTYPE_p_FILE.getCPtr(file), buffer, bufferLength);

            return(ret);
        }
 public SerializableAsciiFile(SWIGTYPE_p_FILE fstream, char rw) : this(modshogunPINVOKE.new_SerializableAsciiFile__SWIG_1(SWIGTYPE_p_FILE.getCPtr(fstream), rw), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #21
0
 public static void yarp_print_trace(SWIGTYPE_p_FILE arg0, string file, int line)
 {
     yarpPINVOKE.yarp_print_trace(SWIGTYPE_p_FILE.getCPtr(arg0), file, line);
 }
Exemple #22
0
 public ArKeyHandler(bool blocking, bool addAriaExitCB, SWIGTYPE_p_FILE stream) : this(AriaCSPINVOKE.new_ArKeyHandler__SWIG_1(blocking, addAriaExitCB, SWIGTYPE_p_FILE.getCPtr(stream)), true) {
 }
Exemple #23
0
    public static int stbi_info_from_file(SWIGTYPE_p_FILE f, SWIGTYPE_p_int x, SWIGTYPE_p_int y, SWIGTYPE_p_int comp)
    {
        int ret = OpenGLSupportPINVOKE.stbi_info_from_file(SWIGTYPE_p_FILE.getCPtr(f), SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y), SWIGTYPE_p_int.getCPtr(comp));

        return(ret);
    }
 public FileHandleDataStream(string name, SWIGTYPE_p_FILE handle) : this(OgrePINVOKE.new_FileHandleDataStream__SWIG_3(name, SWIGTYPE_p_FILE.getCPtr(handle)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #25
0
 public Tag(TagDirectory parent, SWIGTYPE_p_FILE f, int arg2) : this(libPhotoAssistantImageProcessingPINVOKE.new_Tag__SWIG_0(TagDirectory.getCPtr(parent), SWIGTYPE_p_FILE.getCPtr(f), arg2), true)
 {
 }
Exemple #26
0
 public RealFileFeatures(int size, SWIGTYPE_p_FILE file) : this(modshogunPINVOKE.new_RealFileFeatures__SWIG_1(size, SWIGTYPE_p_FILE.getCPtr(file)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #27
0
 public TagDirectory(TagDirectory p, SWIGTYPE_p_FILE f, int arg2, TagAttrib ta, ByteOrder border) : this(libPhotoAssistantImageProcessingPINVOKE.new_TagDirectory__SWIG_2(TagDirectory.getCPtr(p), SWIGTYPE_p_FILE.getCPtr(f), arg2, TagAttrib.getCPtr(ta), (int)border), true)
 {
 }
Exemple #28
0
 public static int fclose(SWIGTYPE_p_FILE stream) {
   int ret = fannfixedPINVOKE.fclose(SWIGTYPE_p_FILE.getCPtr(stream));
   return ret;
 }
Exemple #29
0
        public static int fclose(SWIGTYPE_p_FILE stream)
        {
            int ret = fannfloatPINVOKE.fclose(SWIGTYPE_p_FILE.getCPtr(stream));

            return(ret);
        }
Exemple #30
0
 public BinaryFile(SWIGTYPE_p_FILE f) : this(modshogunPINVOKE.new_BinaryFile__SWIG_2(SWIGTYPE_p_FILE.getCPtr(f)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }