示例#1
0
 public StringVectorEnumerator(StringVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#2
0
 public void SetRange(int index, StringVector values)
 {
     StcIntCSharpPINVOKE.StringVector_SetRange(swigCPtr, index, StringVector.getCPtr(values));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public static void salSet(string handle, StringVector propertyPairs)
 {
     StcIntCSharpPINVOKE.salSet(handle, StringVector.getCPtr(propertyPairs));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public static void salDisconnect(StringVector hostNames)
 {
     StcIntCSharpPINVOKE.salDisconnect(StringVector.getCPtr(hostNames));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
 public static void salRelease(StringVector CSPs)
 {
     StcIntCSharpPINVOKE.salRelease(StringVector.getCPtr(CSPs));
     if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
     {
         throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#6
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);
        }
示例#7
0
        public static string salSubscribe(StringVector inputParameters)
        {
            string ret = StcIntCSharpPINVOKE.salSubscribe(StringVector.getCPtr(inputParameters));

            if (StcIntCSharpPINVOKE.SWIGPendingException.Pending)
            {
                throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#8
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);
        }
示例#9
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);
        }
示例#10
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);
        }
示例#11
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);
        }
示例#12
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);
        }
示例#13
0
 internal static HandleRef getCPtr(StringVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }