Example #1
0
 public JsValue(JsObjectVector value) : this(UsdCsPINVOKE.new_JsValue__SWIG_3(JsObjectVector.getCPtr(value)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public JsObjectVector(JsObjectVector other) : this(UsdCsPINVOKE.new_JsObjectVector__SWIG_1(JsObjectVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public JsObjectVectorEnumerator(JsObjectVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #4
0
 public void SetRange(int index, JsObjectVector values)
 {
     UsdCsPINVOKE.JsObjectVector_SetRange(swigCPtr, index, JsObjectVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
        public static JsObjectVector Repeat(JsValue value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.JsObjectVector_Repeat(JsValue.getCPtr(value), count);
            JsObjectVector        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new JsObjectVector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public JsObjectVector GetJsArray()
        {
            JsObjectVector ret = new JsObjectVector(UsdCsPINVOKE.JsValue_GetJsArray(swigCPtr), false);

            return(ret);
        }
Example #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(JsObjectVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }