Inheritance: Displayable
示例#1
0
        public new static OfferDataNym ot_dynamic_cast(Storable pObject)
        {
            IntPtr       cPtr = otapiPINVOKE.OfferDataNym_ot_dynamic_cast(Storable.getCPtr(pObject));
            OfferDataNym ret  = (cPtr == IntPtr.Zero) ? null : new OfferDataNym(cPtr, false);

            return(ret);
        }
        public OfferDataNym GetOfferDataNym(uint nIndex)
        {
            IntPtr       cPtr = otapiPINVOKE.OfferListNym_GetOfferDataNym(swigCPtr, nIndex);
            OfferDataNym ret  = (cPtr == IntPtr.Zero) ? null : new OfferDataNym(cPtr, false);

            return(ret);
        }
        public bool AddOfferDataNym(OfferDataNym disownObject)
        {
            bool ret = otapiPINVOKE.OfferListNym_AddOfferDataNym(swigCPtr, OfferDataNym.getCPtr(disownObject));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
 internal static HandleRef getCPtr(OfferDataNym obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public bool AddOfferDataNym(OfferDataNym disownObject)
 {
     bool ret = otapiPINVOKE.OfferListNym_AddOfferDataNym(swigCPtr, OfferDataNym.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 internal static HandleRef getCPtr(OfferDataNym obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }