libsbml.Model.createSpeciesType C# (CSharp) Method

createSpeciesType() public method

public createSpeciesType ( ) : SpeciesType
return SpeciesType
        public SpeciesType createSpeciesType()
        {
            IntPtr cPtr = libsbmlPINVOKE.Model_createSpeciesType(swigCPtr);
            SpeciesType ret = (cPtr == IntPtr.Zero) ? null : new SpeciesType(cPtr, false);
            return ret;
        }

Usage Example

 public void test_SpeciesType_parent_create()
 {
     Model m = new Model(2,4);
       SpeciesType st = m.createSpeciesType();
       ListOf lo = m.getListOfSpeciesTypes();
       assertTrue( lo == m.getSpeciesType(0).getParentSBMLObject() );
       assertTrue( lo == st.getParentSBMLObject() );
       assertTrue( m == lo.getParentSBMLObject() );
 }
All Usage Examples Of libsbml.Model::createSpeciesType
Model