libsbml.Event.getDelay C# (CSharp) Method

getDelay() public method

public getDelay ( ) : Delay
return Delay
        public Delay getDelay()
        {
            IntPtr cPtr = libsbmlPINVOKE.Event_getDelay__SWIG_0(swigCPtr);
            Delay ret = (cPtr == IntPtr.Zero) ? null : new Delay(cPtr, false);
            return ret;
        }

Usage Example

Esempio n. 1
0
 public void test_Delay_ancestor_create()
 {
     Event e = new Event(2,4);
       Delay ea = e.createDelay();
       assertTrue( ea.getAncestorOfType(libsbml.SBML_EVENT) == e );
       assertTrue( ea.getAncestorOfType(libsbml.SBML_DOCUMENT) == null );
       assertTrue( ea.getAncestorOfType(libsbml.SBML_COMPARTMENT) == null );
       Delay obj = e.getDelay();
       assertTrue( obj.getAncestorOfType(libsbml.SBML_EVENT) == e );
       assertTrue( obj.getAncestorOfType(libsbml.SBML_DOCUMENT) == null );
       assertTrue( obj.getAncestorOfType(libsbml.SBML_COMPARTMENT) == null );
 }
All Usage Examples Of libsbml.Event::getDelay