libsbmlcs.Compartment.setOutside C# (CSharp) Method

setOutside() public method

public setOutside ( string sid ) : int
sid string
return int
        public int setOutside(string sid)
        {
            int ret = libsbmlPINVOKE.Compartment_setOutside(swigCPtr, sid);
            if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }

Usage Example

 public void test_Compartment_assignmentOperator()
 {
     Compartment o1 = new Compartment(2,4);
       o1.setId("c");
       o1.setOutside("c2");
       assertTrue( o1.getId() ==  "c" );
       assertTrue( o1.getOutside() ==  "c2" );
       Compartment o2 = new Compartment(2,4);
       o2 = o1;
       assertTrue( o2.getId() ==  "c" );
       assertTrue( o2.getOutside() ==  "c2" );
       assertTrue( o2.getParentSBMLObject() == o1.getParentSBMLObject() );
       o2 = null;
       o1 = null;
 }
All Usage Examples Of libsbmlcs.Compartment::setOutside