C# Class libsbmlcs.Unit

Inheritance: SBase
显示文件 Open project: sys-bio/libroadrunner-deps Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Unit ( SBMLNamespaces sbmlns ) : System
Unit ( Unit orig ) : System
Unit ( long level, long version ) : System
areEquivalent ( Unit unit1, Unit unit2 ) : bool
areIdentical ( Unit unit1, Unit unit2 ) : bool
clone ( ) : Unit
convertToSI ( Unit unit ) : UnitDefinition
getElementName ( ) : string
getExponent ( ) : int
getExponentAsDouble ( ) : double
getKind ( ) : int
getMultiplier ( ) : double
getOffset ( ) : double
getScale ( ) : int
getTypeCode ( ) : int
hasRequiredAttributes ( ) : bool
initDefaults ( ) : void
isAmpere ( ) : bool
isAvogadro ( ) : bool
isBecquerel ( ) : bool
isBuiltIn ( string name, long level ) : bool
isCandela ( ) : bool
isCelsius ( ) : bool
isCoulomb ( ) : bool
isDimensionless ( ) : bool
isFarad ( ) : bool
isGram ( ) : bool
isGray ( ) : bool
isHenry ( ) : bool
isHertz ( ) : bool
isItem ( ) : bool
isJoule ( ) : bool
isKatal ( ) : bool
isKelvin ( ) : bool
isKilogram ( ) : bool
isLitre ( ) : bool
isLumen ( ) : bool
isLux ( ) : bool
isMetre ( ) : bool
isMole ( ) : bool
isNewton ( ) : bool
isOhm ( ) : bool
isPascal ( ) : bool
isRadian ( ) : bool
isSecond ( ) : bool
isSetExponent ( ) : bool
isSetKind ( ) : bool
isSetMultiplier ( ) : bool
isSetOffset ( ) : bool
isSetScale ( ) : bool
isSiemens ( ) : bool
isSievert ( ) : bool
isSteradian ( ) : bool
isTesla ( ) : bool
isUnitKind ( string name, long level, long version ) : bool
isVolt ( ) : bool
isWatt ( ) : bool
isWeber ( ) : bool
merge ( Unit unit1, Unit unit2 ) : void
removeScale ( Unit unit ) : int
setExponent ( double value ) : int
setExponent ( int value ) : int
setKind ( int kind ) : int
setMultiplier ( double value ) : int
setOffset ( double value ) : int
setScale ( int value ) : int
unsetExponent ( ) : int
unsetKind ( ) : int
unsetMultiplier ( ) : int
unsetOffset ( ) : int
unsetScale ( ) : int

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Unit() public method

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

Unit() public method

public Unit ( Unit orig ) : System
orig Unit
return System

Unit() public method

public Unit ( long level, long version ) : System
level long
version long
return System

areEquivalent() public static method

public static areEquivalent ( Unit unit1, Unit unit2 ) : bool
unit1 Unit
unit2 Unit
return bool

areIdentical() public static method

public static areIdentical ( Unit unit1, Unit unit2 ) : bool
unit1 Unit
unit2 Unit
return bool

clone() public method

public clone ( ) : Unit
return Unit

convertToSI() public static method

public static convertToSI ( Unit unit ) : UnitDefinition
unit Unit
return UnitDefinition

getElementName() public method

public getElementName ( ) : string
return string

getExponent() public method

public getExponent ( ) : int
return int

getExponentAsDouble() public method

public getExponentAsDouble ( ) : double
return double

getKind() public method

public getKind ( ) : int
return int

getMultiplier() public method

public getMultiplier ( ) : double
return double

getOffset() public method

public getOffset ( ) : double
return double

getScale() public method

public getScale ( ) : int
return int

getTypeCode() public method

public getTypeCode ( ) : int
return int

hasRequiredAttributes() public method

public hasRequiredAttributes ( ) : bool
return bool

initDefaults() public method

public initDefaults ( ) : void
return void

isAmpere() public method

public isAmpere ( ) : bool
return bool

isAvogadro() public method

public isAvogadro ( ) : bool
return bool

isBecquerel() public method

public isBecquerel ( ) : bool
return bool

isBuiltIn() public static method

public static isBuiltIn ( string name, long level ) : bool
name string
level long
return bool

isCandela() public method

public isCandela ( ) : bool
return bool

isCelsius() public method

public isCelsius ( ) : bool
return bool

isCoulomb() public method

public isCoulomb ( ) : bool
return bool

isDimensionless() public method

public isDimensionless ( ) : bool
return bool

isFarad() public method

public isFarad ( ) : bool
return bool

isGram() public method

public isGram ( ) : bool
return bool

isGray() public method

public isGray ( ) : bool
return bool

isHenry() public method

public isHenry ( ) : bool
return bool

isHertz() public method

public isHertz ( ) : bool
return bool

isItem() public method

public isItem ( ) : bool
return bool

isJoule() public method

public isJoule ( ) : bool
return bool

isKatal() public method

public isKatal ( ) : bool
return bool

isKelvin() public method

public isKelvin ( ) : bool
return bool

isKilogram() public method

public isKilogram ( ) : bool
return bool

isLitre() public method

public isLitre ( ) : bool
return bool

isLumen() public method

public isLumen ( ) : bool
return bool

isLux() public method

public isLux ( ) : bool
return bool

isMetre() public method

public isMetre ( ) : bool
return bool

isMole() public method

public isMole ( ) : bool
return bool

isNewton() public method

public isNewton ( ) : bool
return bool

isOhm() public method

public isOhm ( ) : bool
return bool

isPascal() public method

public isPascal ( ) : bool
return bool

isRadian() public method

public isRadian ( ) : bool
return bool

isSecond() public method

public isSecond ( ) : bool
return bool

isSetExponent() public method

public isSetExponent ( ) : bool
return bool

isSetKind() public method

public isSetKind ( ) : bool
return bool

isSetMultiplier() public method

public isSetMultiplier ( ) : bool
return bool

isSetOffset() public method

public isSetOffset ( ) : bool
return bool

isSetScale() public method

public isSetScale ( ) : bool
return bool

isSiemens() public method

public isSiemens ( ) : bool
return bool

isSievert() public method

public isSievert ( ) : bool
return bool

isSteradian() public method

public isSteradian ( ) : bool
return bool

isTesla() public method

public isTesla ( ) : bool
return bool

isUnitKind() public static method

public static isUnitKind ( string name, long level, long version ) : bool
name string
level long
version long
return bool

isVolt() public method

public isVolt ( ) : bool
return bool

isWatt() public method

public isWatt ( ) : bool
return bool

isWeber() public method

public isWeber ( ) : bool
return bool

merge() public static method

public static merge ( Unit unit1, Unit unit2 ) : void
unit1 Unit
unit2 Unit
return void

removeScale() public static method

public static removeScale ( Unit unit ) : int
unit Unit
return int

setExponent() public method

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

setExponent() public method

public setExponent ( int value ) : int
value int
return int

setKind() public method

public setKind ( int kind ) : int
kind int
return int

setMultiplier() public method

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

setOffset() public method

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

setScale() public method

public setScale ( int value ) : int
value int
return int

unsetExponent() public method

public unsetExponent ( ) : int
return int

unsetKind() public method

public unsetKind ( ) : int
return int

unsetMultiplier() public method

public unsetMultiplier ( ) : int
return int

unsetOffset() public method

public unsetOffset ( ) : int
return int

unsetScale() public method

public unsetScale ( ) : int
return int