Example #1
0
 public StrVectorEnumerator(StrVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #2
0
 public StrVector(StrVector other) : this(NQuantLibcPINVOKE.new_StrVector__SWIG_1(StrVector.getCPtr(other)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public StrVector(StrVector other) : this(TreeizeRelDPINVOKE.new_StrVector__SWIG_1(StrVector.getCPtr(other)), true)
 {
     if (TreeizeRelDPINVOKE.SWIGPendingException.Pending)
     {
         throw TreeizeRelDPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void SetRange(int index, StrVector values)
 {
     NQuantLibcPINVOKE.StrVector_SetRange(swigCPtr, index, StrVector.getCPtr(values));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void SetRange(int index, StrVector values)
 {
     TreeizeRelDPINVOKE.StrVector_SetRange(swigCPtr, index, StrVector.getCPtr(values));
     if (TreeizeRelDPINVOKE.SWIGPendingException.Pending)
     {
         throw TreeizeRelDPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
        public StrVector histories()
        {
            StrVector ret = new StrVector(NQuantLibcPINVOKE.IndexManager_histories(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public StrVector secondLegInfo()
        {
            StrVector ret = new StrVector(NQuantLibcPINVOKE.GenericSwap_secondLegInfo(swigCPtr), false);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public static StrVector Repeat(string value, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.StrVector_Repeat(value, count);
            StrVector             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StrVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
        public StrVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.StrVector_GetRange(swigCPtr, index, count);
            StrVector             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StrVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StrVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #11
0
 public StrVector histories() {
   StrVector ret = new StrVector(NQuantLibcPINVOKE.IndexManager_histories(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }