예제 #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("name", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateFeatureBase_0(SwigDirectorname);
     }
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateFeatureBase_1(SwigDirectorclone);
     }
     if (SwigDerivedClassHasMethod("load", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateFeatureBase_2(SwigDirectorload);
     }
     if (SwigDerivedClassHasMethod("next", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateFeatureBase_3(SwigDirectornext);
     }
     if (SwigDerivedClassHasMethod("serialize", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateFeatureBase_4(SwigDirectorserialize);
     }
     if (SwigDerivedClassHasMethod("unserialize", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateFeatureBase_5(SwigDirectorunserialize);
     }
     libtischPINVOKE.FeatureBase_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5);
 }
예제 #2
0
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("name", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateFeatureBase_0(SwigDirectorname);
   if (SwigDerivedClassHasMethod("clone", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateFeatureBase_1(SwigDirectorclone);
   if (SwigDerivedClassHasMethod("load", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateFeatureBase_2(SwigDirectorload);
   if (SwigDerivedClassHasMethod("next", swigMethodTypes3))
     swigDelegate3 = new SwigDelegateFeatureBase_3(SwigDirectornext);
   if (SwigDerivedClassHasMethod("serialize", swigMethodTypes4))
     swigDelegate4 = new SwigDelegateFeatureBase_4(SwigDirectorserialize);
   if (SwigDerivedClassHasMethod("unserialize", swigMethodTypes5))
     swigDelegate5 = new SwigDelegateFeatureBase_5(SwigDirectorunserialize);
   libtischPINVOKE.FeatureBase_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5);
 }