Esempio n. 1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateSBMLValidator_0(SwigDirectorclone);
     }
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateSBMLValidator_1(SwigDirectorgetDocument__SWIG_0);
     }
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateSBMLValidator_2(SwigDirectorgetDocument__SWIG_1);
     }
     if (SwigDerivedClassHasMethod("setDocument", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateSBMLValidator_3(SwigDirectorsetDocument);
     }
     if (SwigDerivedClassHasMethod("validate", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateSBMLValidator_4(SwigDirectorvalidate__SWIG_0);
     }
     if (SwigDerivedClassHasMethod("clearFailures", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateSBMLValidator_5(SwigDirectorclearFailures);
     }
     libsbmlPINVOKE.SBMLValidator_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5);
 }
Esempio n. 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateSBMLValidator_0(SwigDirectorclone);
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateSBMLValidator_1(SwigDirectorgetDocument__SWIG_0);
     if (SwigDerivedClassHasMethod("getDocument", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateSBMLValidator_2(SwigDirectorgetDocument__SWIG_1);
     if (SwigDerivedClassHasMethod("setDocument", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateSBMLValidator_3(SwigDirectorsetDocument);
     if (SwigDerivedClassHasMethod("validate", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateSBMLValidator_4(SwigDirectorvalidate__SWIG_0);
     if (SwigDerivedClassHasMethod("clearFailures", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateSBMLValidator_5(SwigDirectorclearFailures);
     libsbmlPINVOKE.SBMLValidator_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5);
 }