private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateSBMLConverter_0(SwigDirectorclone);
     }
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateSBMLConverter_1(SwigDirectorgetDocument__SWIG_0);
     }
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateSBMLConverter_2(SwigDirectorgetDocument__SWIG_1);
     }
     if (SwigDerivedClassHasMethod("getDefaultProperties", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateSBMLConverter_3(SwigDirectorgetDefaultProperties);
     }
     if (SwigDerivedClassHasMethod("getTargetNamespaces", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateSBMLConverter_4(SwigDirectorgetTargetNamespaces);
     }
     if (SwigDerivedClassHasMethod("matchesProperties", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateSBMLConverter_5(SwigDirectormatchesProperties);
     }
     if (SwigDerivedClassHasMethod("setDocument", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateSBMLConverter_6(SwigDirectorsetDocument__SWIG_0);
     }
     if (SwigDerivedClassHasMethod("setDocument", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateSBMLConverter_7(SwigDirectorsetDocument__SWIG_1);
     }
     if (SwigDerivedClassHasMethod("setProperties", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateSBMLConverter_8(SwigDirectorsetProperties);
     }
     if (SwigDerivedClassHasMethod("getProperties", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateSBMLConverter_9(SwigDirectorgetProperties);
     }
     if (SwigDerivedClassHasMethod("convert", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateSBMLConverter_10(SwigDirectorconvert);
     }
     libsbmlPINVOKE.SBMLConverter_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
 }
Example #2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateSBMLConverter_0(SwigDirectorclone);
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateSBMLConverter_1(SwigDirectorgetDocument__SWIG_0);
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateSBMLConverter_2(SwigDirectorgetDocument__SWIG_1);
     if (SwigDerivedClassHasMethod("getDefaultProperties", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateSBMLConverter_3(SwigDirectorgetDefaultProperties);
     if (SwigDerivedClassHasMethod("getTargetNamespaces", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateSBMLConverter_4(SwigDirectorgetTargetNamespaces);
     if (SwigDerivedClassHasMethod("matchesProperties", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateSBMLConverter_5(SwigDirectormatchesProperties);
     if (SwigDerivedClassHasMethod("setDocument", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateSBMLConverter_6(SwigDirectorsetDocument__SWIG_0);
     if (SwigDerivedClassHasMethod("setDocument", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateSBMLConverter_7(SwigDirectorsetDocument__SWIG_1);
     if (SwigDerivedClassHasMethod("setProperties", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateSBMLConverter_8(SwigDirectorsetProperties);
     if (SwigDerivedClassHasMethod("getProperties", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateSBMLConverter_9(SwigDirectorgetProperties);
     if (SwigDerivedClassHasMethod("convert", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateSBMLConverter_10(SwigDirectorconvert);
     libsbmlPINVOKE.SBMLConverter_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
 }