C# Class Fan.Sys.Unit

Unit.
Inheritance: FanObj
Datei anzeigen Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
A ( ) : long
Equals ( object obj ) : bool
GetHashCode ( ) : int
K ( ) : long
cd ( ) : long
convertTo ( double scalar, Unit to ) : double
define ( string str ) : Unit
definition ( ) : string
div ( Unit b ) : Unit
findDiv ( Unit a, Unit b ) : Unit
fromStr ( string name ) : Unit
fromStr ( string name, bool check ) : Unit
hash ( ) : long
ids ( ) : List
kg ( ) : long
list ( ) : List
m ( ) : long
mol ( ) : long
mult ( Unit b ) : Unit
name ( ) : string
offset ( ) : double
quantities ( ) : List
quantity ( string quantity ) : List
scale ( ) : double
sec ( ) : long
symbol ( ) : string
toStr ( ) : string

Private Methods

Method Description
Unit ( ) : System
Unit ( List ids, Dimension dim, double scale, double offset ) : System
approx ( double a, double b ) : bool
checkId ( string id ) : void
checkIds ( List ids ) : List
findMult ( Unit a, Unit b ) : Unit
loadDatabase ( ) : List
match ( Dimension dim, double scale ) : Fan.Sys.Unit[]
parseDim ( string s ) : Dimension
parseUnit ( string s ) : Unit

Method Details

@typeof() public final method

public final @typeof ( ) : Type
return Type

A() public method

public A ( ) : long
return long

Equals() public final method

public final Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public final method

public final GetHashCode ( ) : int
return int

K() public method

public K ( ) : long
return long

cd() public method

public cd ( ) : long
return long

convertTo() public method

public convertTo ( double scalar, Unit to ) : double
scalar double
to Unit
return double

define() public static method

public static define ( string str ) : Unit
str string
return Unit

definition() public method

public definition ( ) : string
return string

div() public method

public div ( Unit b ) : Unit
b Unit
return Unit

findDiv() public method

public findDiv ( Unit a, Unit b ) : Unit
a Unit
b Unit
return Unit

fromStr() public static method

public static fromStr ( string name ) : Unit
name string
return Unit

fromStr() public static method

public static fromStr ( string name, bool check ) : Unit
name string
check bool
return Unit

hash() public final method

public final hash ( ) : long
return long

ids() public method

public ids ( ) : List
return List

kg() public method

public kg ( ) : long
return long

list() public static method

public static list ( ) : List
return List

m() public method

public m ( ) : long
return long

mol() public method

public mol ( ) : long
return long

mult() public method

public mult ( Unit b ) : Unit
b Unit
return Unit

name() public method

public name ( ) : string
return string

offset() public method

public offset ( ) : double
return double

quantities() public static method

public static quantities ( ) : List
return List

quantity() public static method

public static quantity ( string quantity ) : List
quantity string
return List

scale() public method

public scale ( ) : double
return double

sec() public method

public sec ( ) : long
return long

symbol() public method

public symbol ( ) : string
return string

toStr() public final method

public final toStr ( ) : string
return string