libsbmlcs.XMLAttributes.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

Esempio n. 1
0
        bool readAttributes(XMLAttributes attributes, SWIGTYPE_p_ExpectedAttributes expectedAttributes, XMLInputStream stream, XMLToken element)
        {
            bool ret = libsbmlPINVOKE.ASTBase_readAttributes(swigCPtr, XMLAttributes.getCPtr(attributes), SWIGTYPE_p_ExpectedAttributes.getCPtr(expectedAttributes), XMLInputStream.getCPtr(stream), XMLToken.getCPtr(element));

            if (libsbmlPINVOKE.SWIGPendingException.Pending)
            {
                throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
All Usage Examples Of libsbmlcs.XMLAttributes::getCPtr