コード例 #1
0
 public StringVector(int capacity) : this(StcIntCSharpPINVOKE.new_StringVector__SWIG_1(capacity), true)
 {
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public static void salLog(string logLevel, string msg)
 {
     StcIntCSharpPINVOKE.salLog(logLevel, msg);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public static void salRelease(StringVector CSPs)
 {
     StcIntCSharpPINVOKE.salRelease(StringVector.getCPtr(CSPs));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public void Insert(int index, string x)
 {
     StcIntCSharpPINVOKE.StringVector_Insert(swigCPtr, index, x);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
 public void Remove(string value)
 {
     StcIntCSharpPINVOKE.StringVector_Remove(swigCPtr, value);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
 private void setitem(int index, string val)
 {
     StcIntCSharpPINVOKE.StringVector_setitem(swigCPtr, index, val);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #7
0
 public void SetRange(int index, StringVector values)
 {
     StcIntCSharpPINVOKE.StringVector_SetRange(swigCPtr, index, StringVector.getCPtr(values));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
 public void Add(string x)
 {
     StcIntCSharpPINVOKE.StringVector_Add(swigCPtr, x);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #9
0
 public static void salDelete(string handle)
 {
     StcIntCSharpPINVOKE.salDelete(handle);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #10
0
 public static void salDisconnect(StringVector hostNames)
 {
     StcIntCSharpPINVOKE.salDisconnect(StringVector.getCPtr(hostNames));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #11
0
 public void RemoveAt(int index)
 {
     StcIntCSharpPINVOKE.StringVector_RemoveAt(swigCPtr, index);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #12
0
 public static void salShutdownNoExit()
 {
     StcIntCSharpPINVOKE.salShutdownNoExit();
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #13
0
 public static void salShutdown(int exitCode)
 {
     StcIntCSharpPINVOKE.salShutdown__SWIG_1(exitCode);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #14
0
 public static void stcIntCSharpInit()
 {
     StcIntCSharpPINVOKE.stcIntCSharpInit();
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #15
0
 public void Reverse(int index, int count)
 {
     StcIntCSharpPINVOKE.StringVector_Reverse__SWIG_1(swigCPtr, index, count);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #16
0
 public static void salSet(string handle, StringVector propertyPairs)
 {
     StcIntCSharpPINVOKE.salSet(handle, StringVector.getCPtr(propertyPairs));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #17
0
        private string getitem(int index)
        {
            string ret = StcIntCSharpPINVOKE.StringVector_getitem(swigCPtr, index);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #18
0
        public static StringVector salReserve(StringVector CSPs)
        {
            StringVector ret = new StringVector(StcIntCSharpPINVOKE.salReserve(StringVector.getCPtr(CSPs)), true);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #19
0
        public static StringVector salPerform(string commandName, StringVector propertyPairs)
        {
            StringVector ret = new StringVector(StcIntCSharpPINVOKE.salPerform(commandName, StringVector.getCPtr(propertyPairs)), true);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #20
0
        public static string salHelp(string info)
        {
            string ret = StcIntCSharpPINVOKE.salHelp(info);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #21
0
        public static string salCreate(string type, StringVector propertyPairs)
        {
            string ret = StcIntCSharpPINVOKE.salCreate(type, StringVector.getCPtr(propertyPairs));

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #22
0
        public static string salSubscribe(StringVector inputParameters)
        {
            string ret = StcIntCSharpPINVOKE.salSubscribe(StringVector.getCPtr(inputParameters));

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #23
0
        public static StringVector salGet(string handle, StringVector propertyNames)
        {
            StringVector ret = new StringVector(StcIntCSharpPINVOKE.salGet(handle, StringVector.getCPtr(propertyNames)), true);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #24
0
        public int LastIndexOf(string value)
        {
            int ret = StcIntCSharpPINVOKE.StringVector_LastIndexOf(swigCPtr, value);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #25
0
        public bool Contains(string value)
        {
            bool ret = StcIntCSharpPINVOKE.StringVector_Contains(swigCPtr, value);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #26
0
        public StringVector GetRange(int index, int count)
        {
            IntPtr       cPtr = StcIntCSharpPINVOKE.StringVector_GetRange(swigCPtr, index, count);
            StringVector ret  = (cPtr == IntPtr.Zero) ? null : new StringVector(cPtr, true);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #27
0
        public static StringVector Repeat(string value, int count)
        {
            IntPtr       cPtr = StcIntCSharpPINVOKE.StringVector_Repeat(value, count);
            StringVector ret  = (cPtr == IntPtr.Zero) ? null : new StringVector(cPtr, true);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #28
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero && swigCMemOwn)
         {
             swigCMemOwn = false;
             StcIntCSharpPINVOKE.delete_StringVector(swigCPtr);
         }
         swigCPtr = new HandleRef(null, IntPtr.Zero);
         GC.SuppressFinalize(this);
     }
 }
コード例 #29
0
 public StringVector() : this(StcIntCSharpPINVOKE.new_StringVector__SWIG_0(), true)
 {
 }
コード例 #30
0
 public void Reverse()
 {
     StcIntCSharpPINVOKE.StringVector_Reverse__SWIG_0(swigCPtr);
 }