Exemple #1
0
 public StringVector(int capacity) : this(StcIntCSharpPINVOKE.new_StringVector__SWIG_1(capacity), true)
 {
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void salLog(string logLevel, string msg)
 {
     StcIntCSharpPINVOKE.salLog(logLevel, msg);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void salRelease(StringVector CSPs)
 {
     StcIntCSharpPINVOKE.salRelease(StringVector.getCPtr(CSPs));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void Insert(int index, string x)
 {
     StcIntCSharpPINVOKE.StringVector_Insert(swigCPtr, index, x);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public void Remove(string value)
 {
     StcIntCSharpPINVOKE.StringVector_Remove(swigCPtr, value);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 private void setitem(int index, string val)
 {
     StcIntCSharpPINVOKE.StringVector_setitem(swigCPtr, index, val);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #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();
     }
 }
Exemple #8
0
 public void Add(string x)
 {
     StcIntCSharpPINVOKE.StringVector_Add(swigCPtr, x);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void salDelete(string handle)
 {
     StcIntCSharpPINVOKE.salDelete(handle);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void salDisconnect(StringVector hostNames)
 {
     StcIntCSharpPINVOKE.salDisconnect(StringVector.getCPtr(hostNames));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #11
0
 public void RemoveAt(int index)
 {
     StcIntCSharpPINVOKE.StringVector_RemoveAt(swigCPtr, index);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void salShutdownNoExit()
 {
     StcIntCSharpPINVOKE.salShutdownNoExit();
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void salShutdown(int exitCode)
 {
     StcIntCSharpPINVOKE.salShutdown__SWIG_1(exitCode);
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void stcIntCSharpInit()
 {
     StcIntCSharpPINVOKE.stcIntCSharpInit();
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #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();
     }
 }
 public static void salSet(string handle, StringVector propertyPairs)
 {
     StcIntCSharpPINVOKE.salSet(handle, StringVector.getCPtr(propertyPairs));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #17
0
        private string getitem(int index)
        {
            string ret = StcIntCSharpPINVOKE.StringVector_getitem(swigCPtr, index);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
        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);
        }
        public static string salHelp(string info)
        {
            string ret = StcIntCSharpPINVOKE.salHelp(info);

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
        public static string salSubscribe(StringVector inputParameters)
        {
            string ret = StcIntCSharpPINVOKE.salSubscribe(StringVector.getCPtr(inputParameters));

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
Exemple #24
0
        public int LastIndexOf(string value)
        {
            int ret = StcIntCSharpPINVOKE.StringVector_LastIndexOf(swigCPtr, value);

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

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
     }
 }
Exemple #29
0
 public StringVector() : this(StcIntCSharpPINVOKE.new_StringVector__SWIG_0(), true)
 {
 }
Exemple #30
0
 public void Reverse()
 {
     StcIntCSharpPINVOKE.StringVector_Reverse__SWIG_0(swigCPtr);
 }