Ejemplo n.º 1
0
 public DerivatedLemmas(DerivatedLemmas other) : this(morphodita_csharpPINVOKE.new_DerivatedLemmas__SWIG_1(DerivatedLemmas.getCPtr(other)), true)
 {
     if (morphodita_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw morphodita_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public DerivatedLemmasEnumerator(DerivatedLemmas collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, DerivatedLemmas values)
 {
     morphodita_csharpPINVOKE.DerivatedLemmas_SetRange(swigCPtr, index, DerivatedLemmas.getCPtr(values));
     if (morphodita_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw morphodita_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public virtual bool children(string lemma, DerivatedLemmas children)
        {
            bool ret = morphodita_csharpPINVOKE.Derivator_children(swigCPtr, lemma, DerivatedLemmas.getCPtr(children));

            if (morphodita_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw morphodita_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public static DerivatedLemmas Repeat(DerivatedLemma value, int count)
        {
            global::System.IntPtr cPtr = morphodita_csharpPINVOKE.DerivatedLemmas_Repeat(DerivatedLemma.getCPtr(value), count);
            DerivatedLemmas       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DerivatedLemmas(cPtr, true);

            if (morphodita_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw morphodita_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public DerivatedLemmas GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = morphodita_csharpPINVOKE.DerivatedLemmas_GetRange(swigCPtr, index, count);
            DerivatedLemmas       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DerivatedLemmas(cPtr, true);

            if (morphodita_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw morphodita_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DerivatedLemmas obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }