libsbml.SBMLDocument.getTypeCode C# (CSharp) Method

getTypeCode() public method

public getTypeCode ( ) : int
return int
        public new int getTypeCode()
        {
            int ret = libsbmlPINVOKE.SBMLDocument_getTypeCode(swigCPtr);
            return ret;
        }

Usage Example

Example #1
0
 public void test_SBMLDocument_createWith()
 {
     SBMLDocument d = new  SBMLDocument(1,2);
       assertTrue( d.getTypeCode() == libsbml.SBML_DOCUMENT );
       assertTrue( d.getNotes() == null );
       assertTrue( d.getAnnotation() == null );
       assertTrue( d.getLevel() == 1 );
       assertTrue( d.getVersion() == 2 );
       assertTrue( d.getNumErrors() == 0 );
       d = null;
 }