Ejemplo n.º 1
0
 public RDProps() : this(RDKFuncsPINVOKE.new_RDProps__SWIG_0(), true)
 {
     if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public RDProps(RDProps rhs) : this(RDKFuncsPINVOKE.new_RDProps__SWIG_1(RDProps.getCPtr(rhs)), true)
 {
     if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public void clear()
 {
     RDKFuncsPINVOKE.RDProps_clear(swigCPtr);
     if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void setProp(string key, string val)
 {
     RDKFuncsPINVOKE.RDProps_setProp__SWIG_3(swigCPtr, key, val);
     if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public void updateProps(RDProps source)
 {
     RDKFuncsPINVOKE.RDProps_updateProps__SWIG_1(swigCPtr, RDProps.getCPtr(source));
     if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public void updateProps(RDProps source, bool preserveExisting)
 {
     RDKFuncsPINVOKE.RDProps_updateProps__SWIG_0(swigCPtr, RDProps.getCPtr(source), preserveExisting);
     if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
        public Dict getDict()
        {
            Dict ret = new Dict(RDKFuncsPINVOKE.RDProps_getDict__SWIG_0(swigCPtr), false);

            if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
            {
                throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 8
0
        public bool hasProp(string key)
        {
            bool ret = RDKFuncsPINVOKE.RDProps_hasProp(swigCPtr, key);

            if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
            {
                throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public Str_Vect getPropList()
        {
            Str_Vect ret = new Str_Vect(RDKFuncsPINVOKE.RDProps_getPropList__SWIG_2(swigCPtr), true);

            if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
            {
                throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public Str_Vect getPropList(bool includePrivate, bool includeComputed)
        {
            Str_Vect ret = new Str_Vect(RDKFuncsPINVOKE.RDProps_getPropList__SWIG_0(swigCPtr, includePrivate, includeComputed), true);

            if (RDKFuncsPINVOKE.SWIGPendingException.Pending)
            {
                throw RDKFuncsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwnBase)
             {
                 swigCMemOwnBase = false;
                 RDKFuncsPINVOKE.delete_RDProps(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }