ListOfCompartments clone()
        {
            IntPtr             cPtr = libsbmlPINVOKE.ListOfCompartments_clone(swigCPtr);
            ListOfCompartments ret  = (cPtr == IntPtr.Zero) ? null : new ListOfCompartments(cPtr, true);

            return(ret);
        }
        internal static HandleRef getCPtrAndDisown(ListOfCompartments obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

            if (obj != null)
            {
                ptr             = obj.swigCPtr;
                obj.swigCMemOwn = false;
            }

            return(ptr);
        }
        internal static HandleRef getCPtrAndDisown(ListOfCompartments obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

            if (obj != null)
            {
            ptr             = obj.swigCPtr;
            obj.swigCMemOwn = false;
            }

            return ptr;
        }
 internal static HandleRef getCPtr(ListOfCompartments obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(ListOfCompartments obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }