libsbmlcs.CompartmentType.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( CompartmentType obj ) : HandleRef
obj CompartmentType
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(CompartmentType obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

コード例 #1
0
 CompartmentType(CompartmentType orig) : this(libsbmlPINVOKE.new_CompartmentType__SWIG_2(CompartmentType.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }