libsbml.Reaction.getTypeCode C# (CSharp) Method

getTypeCode() public method

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

Usage Example

Example #1
0
 public void test_Reaction_createWithNS()
 {
     XMLNamespaces xmlns = new  XMLNamespaces();
       xmlns.add( "http://www.sbml.org", "testsbml");
       SBMLNamespaces sbmlns = new  SBMLNamespaces(2,1);
       sbmlns.addNamespaces(xmlns);
       Reaction object1 = new  Reaction(sbmlns);
       assertTrue( object1.getTypeCode() == libsbml.SBML_REACTION );
       assertTrue( object1.getMetaId() == "" );
       assertTrue( object1.getNotes() == null );
       assertTrue( object1.getAnnotation() == null );
       assertTrue( object1.getLevel() == 2 );
       assertTrue( object1.getVersion() == 1 );
       assertTrue( object1.getNamespaces() != null );
       assertTrue( object1.getNamespaces().getLength() == 2 );
       object1 = null;
 }
All Usage Examples Of libsbml.Reaction::getTypeCode