C# Class libsbmlcs.ASTNode

Inheritance: IDisposable
Mostra file Open project: sys-bio/libroadrunner-deps Class Usage Examples

Public Methods

Method Description
ASTNode ( ) : System
ASTNode ( ASTNode orig ) : System
ASTNode ( SBMLNamespaces sbmlns ) : System
ASTNode ( SBMLNamespaces sbmlns, int type ) : System
ASTNode ( int type ) : System
Dispose ( ) : void
Equals ( Object sb ) : bool
GetHashCode ( ) : int
addChild ( ASTNode disownedChild ) : int
addSemanticsAnnotation ( XMLNode disownedAnnotation ) : int
canonicalize ( ) : bool
deepCopy ( ) : ASTBase
freeName ( ) : int
getCharacter ( ) : char
getChild ( long n ) : ASTNode
getClass ( ) : string
getDefinitionURL ( ) : XMLAttributes
getDefinitionURLString ( ) : string
getDenominator ( ) : int
getExponent ( ) : int
getExtendedType ( ) : int
getId ( ) : string
getInteger ( ) : int
getLeftChild ( ) : ASTNode
getListOfNodes ( ) : ASTNodeList
getMantissa ( ) : double
getName ( ) : string
getNumBvars ( ) : long
getNumChildren ( ) : long
getNumPiece ( ) : long
getNumSemanticsAnnotations ( ) : long
getNumerator ( ) : int
getOperatorName ( ) : string
getPackageName ( ) : string
getParentSBMLObject ( ) : SBase
getPlugin ( long n ) : ASTBasePlugin
getPlugin ( string package ) : ASTBasePlugin
getPrecedence ( ) : int
getReal ( ) : double
getRightChild ( ) : ASTNode
getSemanticsAnnotation ( long n ) : XMLNode
getStyle ( ) : string
getType ( ) : int
getTypeCode ( ) : int
getUnits ( ) : string
getValue ( ) : double
hasCorrectNumberArguments ( ) : bool
hasTypeAndNumChildren ( int type, long numchildren ) : int
hasUnits ( ) : bool
insertChild ( long n, ASTNode disownedChild ) : int
isAvogadro ( ) : bool
isBoolean ( ) : bool
isConstant ( ) : bool
isFunction ( ) : bool
isInfinity ( ) : bool
isInteger ( ) : bool
isLambda ( ) : bool
isLog10 ( ) : bool
isLogical ( ) : bool
isNaN ( ) : bool
isName ( ) : bool
isNegInfinity ( ) : bool
isNumber ( ) : bool
isOperator ( ) : bool
isPiecewise ( ) : bool
isQualifier ( ) : bool
isRational ( ) : bool
isReal ( ) : bool
isRelational ( ) : bool
isSemantics ( ) : bool
isSetClass ( ) : bool
isSetId ( ) : bool
isSetParentSBMLObject ( ) : bool
isSetStyle ( ) : bool
isSetUnits ( ) : bool
isSetUserData ( ) : bool
isSqrt ( ) : bool
isUMinus ( ) : bool
isUPlus ( ) : bool
isUnknown ( ) : bool
isWellFormedASTNode ( ) : bool
operator ( ) : bool
prependChild ( ASTNode disownedChild ) : int
read ( XMLInputStream stream ) : bool
read ( XMLInputStream stream, string reqd_prefix ) : bool
reduceToBinary ( ) : void
removeChild ( long n ) : int
renameSIdRefs ( string oldid, string newid ) : void
renameUnitSIdRefs ( string oldid, string newid ) : void
replaceArgument ( string bvar, ASTNode arg ) : void
replaceChild ( long n, ASTNode disownedChild ) : int
replaceChild ( long n, ASTNode disownedChild, bool delreplaced ) : int
replaceIDWithFunction ( string id, ASTNode function ) : void
representsBvar ( ) : bool
returnsBoolean ( ) : bool
returnsBoolean ( Model model ) : bool
setCharacter ( char value ) : int
setClass ( string className ) : int
setDefinitionURL ( XMLAttributes url ) : int
setDefinitionURL ( string url ) : int
setId ( string id ) : int
setIsChildFlag ( bool flag ) : void
setName ( string name ) : int
setStyle ( string style ) : int
setType ( int type ) : int
setUnits ( string units ) : int
setValue ( double value ) : int
setValue ( double mantissa, int exponent ) : int
setValue ( int value ) : int
setValue ( int numerator, int denominator ) : int
swapChildren ( ASTNode that ) : int
unsetClass ( ) : int
unsetId ( ) : int
unsetParentSBMLObject ( ) : int
unsetStyle ( ) : int
unsetUnits ( ) : int
unsetUserData ( ) : int
write ( XMLOutputStream stream ) : void
writeNodeOfType ( XMLOutputStream stream, int type ) : void
writeNodeOfType ( XMLOutputStream stream, int type, bool inChildNode ) : void

Private Methods

Method Description
ASTNode ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( ASTNode obj ) : HandleRef
getCPtrAndDisown ( ASTNode obj ) : HandleRef

Method Details

ASTNode() public method

public ASTNode ( ) : System
return System

ASTNode() public method

public ASTNode ( ASTNode orig ) : System
orig ASTNode
return System

ASTNode() public method

public ASTNode ( SBMLNamespaces sbmlns ) : System
sbmlns SBMLNamespaces
return System

ASTNode() public method

public ASTNode ( SBMLNamespaces sbmlns, int type ) : System
sbmlns SBMLNamespaces
type int
return System

ASTNode() public method

public ASTNode ( int type ) : System
type int
return System

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( Object sb ) : bool
sb Object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

addChild() public method

public addChild ( ASTNode disownedChild ) : int
disownedChild ASTNode
return int

addSemanticsAnnotation() public method

public addSemanticsAnnotation ( XMLNode disownedAnnotation ) : int
disownedAnnotation XMLNode
return int

canonicalize() public method

public canonicalize ( ) : bool
return bool

deepCopy() public method

public deepCopy ( ) : ASTBase
return ASTBase

freeName() public method

public freeName ( ) : int
return int

getCharacter() public method

public getCharacter ( ) : char
return char

getChild() public method

public getChild ( long n ) : ASTNode
n long
return ASTNode

getClass() public method

public getClass ( ) : string
return string

getDefinitionURL() public method

public getDefinitionURL ( ) : XMLAttributes
return XMLAttributes

getDefinitionURLString() public method

public getDefinitionURLString ( ) : string
return string

getDenominator() public method

public getDenominator ( ) : int
return int

getExponent() public method

public getExponent ( ) : int
return int

getExtendedType() public method

public getExtendedType ( ) : int
return int

getId() public method

public getId ( ) : string
return string

getInteger() public method

public getInteger ( ) : int
return int

getLeftChild() public method

public getLeftChild ( ) : ASTNode
return ASTNode

getListOfNodes() public method

public getListOfNodes ( ) : ASTNodeList
return ASTNodeList

getMantissa() public method

public getMantissa ( ) : double
return double

getName() public method

public getName ( ) : string
return string

getNumBvars() public method

public getNumBvars ( ) : long
return long

getNumChildren() public method

public getNumChildren ( ) : long
return long

getNumPiece() public method

public getNumPiece ( ) : long
return long

getNumSemanticsAnnotations() public method

public getNumSemanticsAnnotations ( ) : long
return long

getNumerator() public method

public getNumerator ( ) : int
return int

getOperatorName() public method

public getOperatorName ( ) : string
return string

getPackageName() public method

public getPackageName ( ) : string
return string

getParentSBMLObject() public method

public getParentSBMLObject ( ) : SBase
return SBase

getPlugin() public method

public getPlugin ( long n ) : ASTBasePlugin
n long
return ASTBasePlugin

getPlugin() public method

public getPlugin ( string package ) : ASTBasePlugin
package string
return ASTBasePlugin

getPrecedence() public method

public getPrecedence ( ) : int
return int

getReal() public method

public getReal ( ) : double
return double

getRightChild() public method

public getRightChild ( ) : ASTNode
return ASTNode

getSemanticsAnnotation() public method

public getSemanticsAnnotation ( long n ) : XMLNode
n long
return XMLNode

getStyle() public method

public getStyle ( ) : string
return string

getType() public method

public getType ( ) : int
return int

getTypeCode() public method

public getTypeCode ( ) : int
return int

getUnits() public method

public getUnits ( ) : string
return string

getValue() public method

public getValue ( ) : double
return double

hasCorrectNumberArguments() public method

public hasCorrectNumberArguments ( ) : bool
return bool

hasTypeAndNumChildren() public method

public hasTypeAndNumChildren ( int type, long numchildren ) : int
type int
numchildren long
return int

hasUnits() public method

public hasUnits ( ) : bool
return bool

insertChild() public method

public insertChild ( long n, ASTNode disownedChild ) : int
n long
disownedChild ASTNode
return int

isAvogadro() public method

public isAvogadro ( ) : bool
return bool

isBoolean() public method

public isBoolean ( ) : bool
return bool

isConstant() public method

public isConstant ( ) : bool
return bool

isFunction() public method

public isFunction ( ) : bool
return bool

isInfinity() public method

public isInfinity ( ) : bool
return bool

isInteger() public method

public isInteger ( ) : bool
return bool

isLambda() public method

public isLambda ( ) : bool
return bool

isLog10() public method

public isLog10 ( ) : bool
return bool

isLogical() public method

public isLogical ( ) : bool
return bool

isNaN() public method

public isNaN ( ) : bool
return bool

isName() public method

public isName ( ) : bool
return bool

isNegInfinity() public method

public isNegInfinity ( ) : bool
return bool

isNumber() public method

public isNumber ( ) : bool
return bool

isOperator() public method

public isOperator ( ) : bool
return bool

isPiecewise() public method

public isPiecewise ( ) : bool
return bool

isQualifier() public method

public isQualifier ( ) : bool
return bool

isRational() public method

public isRational ( ) : bool
return bool

isReal() public method

public isReal ( ) : bool
return bool

isRelational() public method

public isRelational ( ) : bool
return bool

isSemantics() public method

public isSemantics ( ) : bool
return bool

isSetClass() public method

public isSetClass ( ) : bool
return bool

isSetId() public method

public isSetId ( ) : bool
return bool

isSetParentSBMLObject() public method

public isSetParentSBMLObject ( ) : bool
return bool

isSetStyle() public method

public isSetStyle ( ) : bool
return bool

isSetUnits() public method

public isSetUnits ( ) : bool
return bool

isSetUserData() public method

public isSetUserData ( ) : bool
return bool

isSqrt() public method

public isSqrt ( ) : bool
return bool

isUMinus() public method

public isUMinus ( ) : bool
return bool

isUPlus() public method

public isUPlus ( ) : bool
return bool

isUnknown() public method

public isUnknown ( ) : bool
return bool

isWellFormedASTNode() public method

public isWellFormedASTNode ( ) : bool
return bool

operator() public static method

public static operator ( ) : bool
return bool

prependChild() public method

public prependChild ( ASTNode disownedChild ) : int
disownedChild ASTNode
return int

read() public method

public read ( XMLInputStream stream ) : bool
stream XMLInputStream
return bool

read() public method

public read ( XMLInputStream stream, string reqd_prefix ) : bool
stream XMLInputStream
reqd_prefix string
return bool

reduceToBinary() public method

public reduceToBinary ( ) : void
return void

removeChild() public method

public removeChild ( long n ) : int
n long
return int

renameSIdRefs() public method

public renameSIdRefs ( string oldid, string newid ) : void
oldid string
newid string
return void

renameUnitSIdRefs() public method

public renameUnitSIdRefs ( string oldid, string newid ) : void
oldid string
newid string
return void

replaceArgument() public method

public replaceArgument ( string bvar, ASTNode arg ) : void
bvar string
arg ASTNode
return void

replaceChild() public method

public replaceChild ( long n, ASTNode disownedChild ) : int
n long
disownedChild ASTNode
return int

replaceChild() public method

public replaceChild ( long n, ASTNode disownedChild, bool delreplaced ) : int
n long
disownedChild ASTNode
delreplaced bool
return int

replaceIDWithFunction() public method

public replaceIDWithFunction ( string id, ASTNode function ) : void
id string
function ASTNode
return void

representsBvar() public method

public representsBvar ( ) : bool
return bool

returnsBoolean() public method

public returnsBoolean ( ) : bool
return bool

returnsBoolean() public method

public returnsBoolean ( Model model ) : bool
model Model
return bool

setCharacter() public method

public setCharacter ( char value ) : int
value char
return int

setClass() public method

public setClass ( string className ) : int
className string
return int

setDefinitionURL() public method

public setDefinitionURL ( XMLAttributes url ) : int
url XMLAttributes
return int

setDefinitionURL() public method

public setDefinitionURL ( string url ) : int
url string
return int

setId() public method

public setId ( string id ) : int
id string
return int

setIsChildFlag() public method

public setIsChildFlag ( bool flag ) : void
flag bool
return void

setName() public method

public setName ( string name ) : int
name string
return int

setStyle() public method

public setStyle ( string style ) : int
style string
return int

setType() public method

public setType ( int type ) : int
type int
return int

setUnits() public method

public setUnits ( string units ) : int
units string
return int

setValue() public method

public setValue ( double value ) : int
value double
return int

setValue() public method

public setValue ( double mantissa, int exponent ) : int
mantissa double
exponent int
return int

setValue() public method

public setValue ( int value ) : int
value int
return int

setValue() public method

public setValue ( int numerator, int denominator ) : int
numerator int
denominator int
return int

swapChildren() public method

public swapChildren ( ASTNode that ) : int
that ASTNode
return int

unsetClass() public method

public unsetClass ( ) : int
return int

unsetId() public method

public unsetId ( ) : int
return int

unsetParentSBMLObject() public method

public unsetParentSBMLObject ( ) : int
return int

unsetStyle() public method

public unsetStyle ( ) : int
return int

unsetUnits() public method

public unsetUnits ( ) : int
return int

unsetUserData() public method

public unsetUserData ( ) : int
return int

write() public method

public write ( XMLOutputStream stream ) : void
stream XMLOutputStream
return void

writeNodeOfType() public method

public writeNodeOfType ( XMLOutputStream stream, int type ) : void
stream XMLOutputStream
type int
return void

writeNodeOfType() public method

public writeNodeOfType ( XMLOutputStream stream, int type, bool inChildNode ) : void
stream XMLOutputStream
type int
inChildNode bool
return void