コード例 #1
0
        public static TagDirectory parseTIFF(SWIGTYPE_p_FILE f, bool skipIgnored)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.ExifManager_parseTIFF__SWIG_0(SWIGTYPE_p_FILE.getCPtr(f), skipIgnored);
            TagDirectory          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new TagDirectory(cPtr, false);

            return(ret);
        }
コード例 #2
0
        public static TagDirectory parseCIFF(SWIGTYPE_p_FILE f, int arg1, int length)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.ExifManager_parseCIFF__SWIG_0(SWIGTYPE_p_FILE.getCPtr(f), arg1, length);
            TagDirectory          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new TagDirectory(cPtr, false);

            return(ret);
        }
コード例 #3
0
 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();
     }
 }
コード例 #4
0
        public static TagDirectory parseJPEG(SWIGTYPE_p_FILE f)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.ExifManager_parseJPEG(SWIGTYPE_p_FILE.getCPtr(f));
            TagDirectory          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new TagDirectory(cPtr, false);

            return(ret);
        }
コード例 #5
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);
    }
コード例 #6
0
        public SWIGTYPE_p_FILE handle()
        {
            global::System.IntPtr cPtr = xsensdeviceapiPINVOKE.XsFile_handle(swigCPtr);
            SWIGTYPE_p_FILE       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false);

            return(ret);
        }
コード例 #7
0
 public HMM(SWIGTYPE_p_FILE model_file, double PSEUDO) : this(modshogunPINVOKE.new_HMM__SWIG_5(SWIGTYPE_p_FILE.getCPtr(model_file), PSEUDO), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
ファイル: fannfloat.cs プロジェクト: willy40/FannCSharp
        public static SWIGTYPE_p_FILE fopen(string filename, string mode)
        {
            global::System.IntPtr cPtr = fannfloatPINVOKE.fopen(filename, mode);
            SWIGTYPE_p_FILE       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false);

            return(ret);
        }
コード例 #9
0
ファイル: ArUtil.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
        public static SWIGTYPE_p_FILE popen(string command, string type)
        {
            global::System.IntPtr cPtr = AriaCSPINVOKE.ArUtil_popen__SWIG_1(command, type);
            SWIGTYPE_p_FILE       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false);

            return(ret);
        }
コード例 #10
0
ファイル: ArUtil.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
        public static SWIGTYPE_p_FILE fopen(string path, string mode)
        {
            global::System.IntPtr cPtr = AriaCSPINVOKE.ArUtil_fopen__SWIG_1(path, mode);
            SWIGTYPE_p_FILE       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false);

            return(ret);
        }
コード例 #11
0
 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();
     }
 }
コード例 #12
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();
     }
 }
コード例 #13
0
ファイル: BinaryFile.cs プロジェクト: Anshul-Bansal/gsoc
 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();
     }
 }
コード例 #14
0
 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();
     }
 }
コード例 #15
0
 public AsciiFile(SWIGTYPE_p_FILE f, string name) : this(modshogunPINVOKE.new_AsciiFile__SWIG_1(SWIGTYPE_p_FILE.getCPtr(f), name), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #16
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();
     }
 }
コード例 #17
0
    public bool initialize(SWIGTYPE_p_shogun__Model model, double PSEUDO, SWIGTYPE_p_FILE model_file)
    {
        bool ret = modshogunPINVOKE.HMM_initialize__SWIG_0(swigCPtr, SWIGTYPE_p_shogun__Model.getCPtr(model), PSEUDO, SWIGTYPE_p_FILE.getCPtr(model_file));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #18
0
ファイル: LogPlusOne.cs プロジェクト: Anshul-Bansal/gsoc
    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);
    }
コード例 #19
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);
    }
コード例 #20
0
ファイル: SortUlongString.cs プロジェクト: Anshul-Bansal/gsoc
    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);
    }
コード例 #21
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);
    }
コード例 #22
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);
    }
コード例 #23
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);
    }
コード例 #24
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);
    }
コード例 #25
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);
    }
コード例 #26
0
    public SWIGTYPE_p_FILE get_target()
    {
        IntPtr          cPtr = modshogunPINVOKE.SGIO_get_target(swigCPtr);
        SWIGTYPE_p_FILE ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #27
0
ファイル: NormOne.cs プロジェクト: Anshul-Bansal/gsoc
 public virtual bool load(SWIGTYPE_p_FILE f) {
   bool ret = modshogunPINVOKE.NormOne_load(swigCPtr, SWIGTYPE_p_FILE.getCPtr(f));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #28
0
ファイル: fannfloat.cs プロジェクト: willy40/FannCSharp
        public static int fclose(SWIGTYPE_p_FILE stream)
        {
            int ret = fannfloatPINVOKE.fclose(SWIGTYPE_p_FILE.getCPtr(stream));

            return(ret);
        }
コード例 #29
0
 public void FPrintf(SWIGTYPE_p_FILE fp)
 {
     RakNetPINVOKE.RakWString_FPrintf(swigCPtr, SWIGTYPE_p_FILE.getCPtr(fp));
 }
コード例 #30
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)
 {
 }
コード例 #31
0
ファイル: AsciiFile.cs プロジェクト: Anshul-Bansal/gsoc
 public AsciiFile(SWIGTYPE_p_FILE f, string name) : this(modshogunPINVOKE.new_AsciiFile__SWIG_1(SWIGTYPE_p_FILE.getCPtr(f), name), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #32
0
 internal static HandleRef getCPtr(SWIGTYPE_p_FILE obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #33
0
ファイル: HMM.cs プロジェクト: Anshul-Bansal/gsoc
 public HMM(SWIGTYPE_p_FILE model_file, double PSEUDO) : this(modshogunPINVOKE.new_HMM__SWIG_5(SWIGTYPE_p_FILE.getCPtr(model_file), PSEUDO), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #34
0
ファイル: HMM.cs プロジェクト: Anshul-Bansal/gsoc
 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;
 }
コード例 #35
0
ファイル: HMM.cs プロジェクト: Anshul-Bansal/gsoc
 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;
 }
コード例 #36
0
ファイル: HMM.cs プロジェクト: Anshul-Bansal/gsoc
 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;
 }
コード例 #37
0
ファイル: HMM.cs プロジェクト: Anshul-Bansal/gsoc
 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;
 }
コード例 #38
0
ファイル: SGIO.cs プロジェクト: Anshul-Bansal/gsoc
 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();
 }
コード例 #39
0
ファイル: Game.cs プロジェクト: pbbwfc/ScidNET
 public ushort WriteExtraTags(SWIGTYPE_p_FILE fp) {
   ushort ret = ScidPINVOKE.Game_WriteExtraTags(swigCPtr, SWIGTYPE_p_FILE.getCPtr(fp));
   return ret;
 }
コード例 #40
0
ファイル: Scid.cs プロジェクト: pbbwfc/ScidNET
 public static ushort readString(SWIGTYPE_p_FILE fp, string str, uint length) {
   ushort ret = ScidPINVOKE.readString(SWIGTYPE_p_FILE.getCPtr(fp), str, length);
   return ret;
 }
コード例 #41
0
ファイル: HMM.cs プロジェクト: Anshul-Bansal/gsoc
 public bool initialize(SWIGTYPE_p_shogun__Model model, double PSEUDO, SWIGTYPE_p_FILE model_file) {
   bool ret = modshogunPINVOKE.HMM_initialize__SWIG_0(swigCPtr, SWIGTYPE_p_shogun__Model.getCPtr(model), PSEUDO, SWIGTYPE_p_FILE.getCPtr(model_file));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #42
0
ファイル: BinaryFile.cs プロジェクト: Anshul-Bansal/gsoc
 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();
 }
コード例 #43
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;
 }
コード例 #44
0
ファイル: AsciiFile.cs プロジェクト: Anshul-Bansal/gsoc
 public static SWIGTYPE_p_ssize_t getline(SWIGTYPE_p_p_char lineptr, SWIGTYPE_p_size_t n, SWIGTYPE_p_FILE stream) {
   SWIGTYPE_p_ssize_t ret = new SWIGTYPE_p_ssize_t(modshogunPINVOKE.AsciiFile_getline(SWIGTYPE_p_p_char.getCPtr(lineptr), SWIGTYPE_p_size_t.getCPtr(n), SWIGTYPE_p_FILE.getCPtr(stream)), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #45
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;
 }
コード例 #46
0
ファイル: SWIGTYPE_p_FILE.cs プロジェクト: PoxyDoxy/EFAS
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_FILE obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #47
0
 public static SWIGTYPE_p_float stbi_loadf_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_loadf_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_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
   return ret;
 }
コード例 #48
0
ファイル: Machine.cs プロジェクト: Anshul-Bansal/gsoc
 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;
 }
コード例 #49
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();
 }
コード例 #50
0
ファイル: SortUlongString.cs プロジェクト: Anshul-Bansal/gsoc
 public virtual bool save(SWIGTYPE_p_FILE f) {
   bool ret = modshogunPINVOKE.SortUlongString_save(swigCPtr, SWIGTYPE_p_FILE.getCPtr(f));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #51
0
 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();
 }
コード例 #52
0
ファイル: SWIGTYPE_p_FILE.cs プロジェクト: pbbwfc/ScidNET
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_FILE obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #53
0
 public bool save(SWIGTYPE_p_FILE f) {
   bool ret = modshogunPINVOKE.DecompressCharString_save(swigCPtr, SWIGTYPE_p_FILE.getCPtr(f));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }