示例#1
0
 public StringVectorPtr(StringVectorPtr r) : this(OgrePINVOKE.new_StringVectorPtr__SWIG_2(StringVectorPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
        public virtual StringVectorPtr find(string pattern)
        {
            StringVectorPtr ret = new StringVectorPtr(OgrePINVOKE.Archive_find__SWIG_2(swigCPtr, pattern), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#3
0
        public virtual StringVectorPtr list()
        {
            StringVectorPtr ret = new StringVectorPtr(OgrePINVOKE.Archive_list__SWIG_2(swigCPtr), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
        public virtual StringVectorPtr list(bool recursive, bool dirs)
        {
            StringVectorPtr ret = new StringVectorPtr(OgrePINVOKE.Archive_list__SWIG_0(swigCPtr, recursive, dirs), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public StringVectorPtr findResourceLocation(string groupName, string pattern)
        {
            StringVectorPtr ret = new StringVectorPtr(OgrePINVOKE.ResourceGroupManager_findResourceLocation(swigCPtr, groupName, pattern), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public StringVectorPtr listResourceLocations(string groupName)
        {
            StringVectorPtr ret = new StringVectorPtr(OgrePINVOKE.ResourceGroupManager_listResourceLocations(swigCPtr, groupName), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
                public static StringVectorPtr FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    StringVectorPtr obj = baseObj as  StringVectorPtr;

                    if (object.Equals(obj, null))
                    {
                        obj = new StringVectorPtr(CreatedWhenConstruct.CWC_NotToCreate);
                        obj.BindNativeObject(baseObj.NativeObject, "StringVectorPtr");
                        obj.IncreaseCast();
                    }

                    return(obj);
                }
                public BaseObject Create()
                {
                    StringVectorPtr emptyInstance = new StringVectorPtr(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }
示例#9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StringVectorPtr obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }