Example #1
0
 public BoolStringList(BoolStringList orig) : this(modshogunPINVOKE.new_BoolStringList__SWIG_5(BoolStringList.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public StringBoolFeatures(BoolStringList string_list, Alphabet alpha) : this(modshogunPINVOKE.new_StringBoolFeatures__SWIG_3(BoolStringList.getCPtr(string_list), Alphabet.getCPtr(alpha)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public void set_features(BoolStringList feats)
 {
     modshogunPINVOKE.StringBoolFeatures_set_features(swigCPtr, BoolStringList.getCPtr(feats));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
    public BoolStringList get_features()
    {
        BoolStringList ret = new BoolStringList(modshogunPINVOKE.StringBoolFeatures_get_features(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
 public BoolStringList(BoolStringList orig) : this(modshogunPINVOKE.new_BoolStringList__SWIG_5(BoolStringList.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #6
0
 internal static HandleRef getCPtr(BoolStringList obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #7
0
 internal static HandleRef getCPtr(BoolStringList obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #8
0
 public StringBoolFeatures(BoolStringList string_list, Alphabet alpha) : this(modshogunPINVOKE.new_StringBoolFeatures__SWIG_3(BoolStringList.getCPtr(string_list), Alphabet.getCPtr(alpha)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #9
0
 public BoolStringList get_features() {
   BoolStringList ret = new BoolStringList(modshogunPINVOKE.StringBoolFeatures_get_features(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #10
0
 public void set_features(BoolStringList feats) {
   modshogunPINVOKE.StringBoolFeatures_set_features(swigCPtr, BoolStringList.getCPtr(feats));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }