示例#1
0
                protected IntPtr EarthView_World_Graphic_CScriptLoader_getScriptPatterns_StringVector_Function()
                {
                    EarthView.World.Core.StringVector csret = GetScriptPatterns();

                    if (!object.Equals(csret, null))
                    {
                        return(csret.NativeObject);
                    }
                    else
                    {
                        return(IntPtr.Zero);
                    }
                }
示例#2
0
                    /// <summary>
                    /// 获取模型库中的所有模型类别
                    /// </summary>
                    /// <returns>用户类别列表</returns>
                    public EarthView.World.Core.StringVector GetAllUserType()
                    {
                        IntPtr __ptr = EarthView_World_Spatial3D_ModelManager_CModelEffectManager_getAllUserType_StringVector(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Core.StringVector csObj = new EarthView.World.Core.StringVector(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "StringVector");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringVector;
                            csObj.BindNativeObject(__ptr, "StringVector");
                        }
                        return(csObj);
                    }
                    /// <summary>
                    /// 获取当前缓存路径下已经缓存过数据的web服务URL列表
                    /// </summary>
                    /// <param name=""></param>
                    /// <returns></returns>
                    public EarthView.World.Core.StringVector GetCachedURLList()
                    {
                        IntPtr __ptr = EarthView_World_FrameWorkProxy_DataSourceManager_CWebDataSourceCacheManager_getCachedURLList_StringVector(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Core.StringVector csObj = new EarthView.World.Core.StringVector(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "StringVector");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringVector;
                            csObj.BindNativeObject(__ptr, "StringVector");
                        }
                        return(csObj);
                    }
示例#4
0
                /// <summary>
                ///
                /// </summary>
                /// <param name=""></param>
                /// <returns>servernameu@url</returns>
                public EarthView.World.Core.StringVector ReadURLListFromCache()
                {
                    IntPtr __ptr = EarthView_World_Spatial_CEVSpatialServerURLCacheVisitor_readURLListFromCache_StringVector(this.NativeObject);

                    if (__ptr == IntPtr.Zero)
                    {
                        return(null);
                    }
                    EarthView.World.Core.StringVector csObj = new EarthView.World.Core.StringVector(CreatedWhenConstruct.CWC_NotToCreate);
                    csObj.BindNativeObject(__ptr, "StringVector");
                    IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                    if (csObjClassFactory != null)
                    {
                        csObj.Delegate = true;
                        csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringVector;
                        csObj.BindNativeObject(__ptr, "StringVector");
                    }
                    return(csObj);
                }
                    /// <summary>
                    /// 获取插件信息
                    /// </summary>
                    /// <param name="pluginsFolder">存放插件的文件夹路径,如果为空,默认为执行程序当前路径</param>
                    /// <returns></returns>
                    public EarthView.World.Core.StringVector GetPluginsInfo(string pluginsFolder)
                    {
                        IntPtr __ptr = EarthView_World_Spatial_Download_CWebManager_getPluginsInfo_StringVector_EVString(this.NativeObject, pluginsFolder);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Core.StringVector csObj = new EarthView.World.Core.StringVector(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "StringVector");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringVector;
                            csObj.BindNativeObject(__ptr, "StringVector");
                        }
                        return(csObj);
                    }
示例#6
0
                public virtual EarthView.World.Core.StringVector GetScriptPatterns_NoVirtual()
                {
                    IntPtr __ptr = EarthView_World_Graphic_CScriptLoader_getScriptPatterns_StringVector_NoVirtual(this.NativeObject);

                    if (__ptr == IntPtr.Zero)
                    {
                        return(null);
                    }
                    EarthView.World.Core.StringVector csObj = new EarthView.World.Core.StringVector(CreatedWhenConstruct.CWC_NotToCreate);
                    csObj.BindNativeObject(__ptr, "StringVector");
                    csObj.Delegate = true;
                    IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                    if (csObjClassFactory != null)
                    {
                        csObj.Delegate = true;
                        csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringVector;
                        csObj.BindNativeObject(__ptr, "StringVector");
                        csObj.Delegate = true;
                    }
                    return(csObj);
                }
                    /// <summary>
                    /// 检测是否可用传入的名称创建数据库表
                    /// </summary>
                    /// <param name="tableNameList">待检测名称列表</param>
                    /// <param name="errorNameList">错误名称列表</param>
                    /// <returns>检测成功返回true,否则返回false</returns>
                    public static bool CheckValidTableName(EarthView.World.Core.StringVector tableNameList, ref EarthView.World.Core.StringVector errorNameList)
                    {
                        byte ret = EarthView_World_Spatial_VectorCache_CVectorCacheCreator_checkValidTableName_ev_bool_StringVector_StringVector(object.Equals(tableNameList, null) ? IntPtr.Zero : tableNameList.NativeObject, object.Equals(errorNameList, null) ? IntPtr.Zero : errorNameList.NativeObject);

                        return(Convert.ToBoolean(ret));
                    }