libsbml.XMLToken.setTriple C# (CSharp) Method

setTriple() public method

public setTriple ( XMLTriple triple ) : int
triple XMLTriple
return int
        public int setTriple(XMLTriple triple)
        {
            int ret = libsbmlPINVOKE.XMLToken_setTriple(swigCPtr, XMLTriple.getCPtr(triple));
            if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }

Usage Example

コード例 #1
0
 public void test_XMLToken_newSetters_setTriple1()
 {
     XMLTriple triple = new  XMLTriple("test","","");
       XMLToken token = new  XMLToken();
       int i = token.setTriple(triple);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue((  "test" == token.getName() ));
       triple = null;
       token = null;
 }
All Usage Examples Of libsbml.XMLToken::setTriple