IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Collection of al prefixes for the SI units. More...
Public Member Functions | |
SIPrefix[] | ToArray () |
Returns array of all SI unit prefixes contained in the current prefix collection. More... | |
void | Add (SIPrefix prefix) |
Properties | |
SIPrefix | this[string symbol] [get] |
Returns the perfix for SI units that has the specified symbol, or null if such prefix can not be found. More... | |
SIPrefix | this[int id] [get] |
Returns the perfix for SI units that has the specified integer equivalent to Id (which corresponds to the base 10 logarithm of the factor represented by the specified SI prefix), or null if such prefix can not be found. More... | |
SIPrefix | this[SIPrefixes id] [get] |
Returns the perfix for SI units that has the specified Id, or null if such prefix can not be found. More... | |
SortedList< string, SIPrefix > | SymbolList [get] |
Sorted list of existing SI prefixes indexed by prefix symbol. More... | |
SortedList< SIPrefixes, SIPrefix > | IdList [get] |
Sorted list of existing SI prefixes indexed by prefix Id (enumerator). More... | |
Private Attributes | |
SortedList< string, SIPrefix > | _symbolList = new SortedList<string, SIPrefix>() |
SortedList< SIPrefixes, SIPrefix > | _IdList = new SortedList<SIPrefixes, SIPrefix>() |
Collection of al prefixes for the SI units.
|
inline |
Returns array of all SI unit prefixes contained in the current prefix collection.
Referenced by IG.Physics.SIPrefix.PrintList().
|
inline |
References IG.Physics.SIPrefix.Id, IG.Physics.p, and IG.Physics.SIPrefix.Symbol.
Referenced by IG.Physics.SIPrefix.SIPrefix().
|
private |
|
private |
|
get |
Returns the perfix for SI units that has the specified symbol, or null if such prefix can not be found.
symbol | Symbol fo the prefix that is searched for. |
|
get |
Returns the perfix for SI units that has the specified integer equivalent to Id (which corresponds to the base 10 logarithm of the factor represented by the specified SI prefix), or null if such prefix can not be found.
id | Integer equivalent of the prefix ID that is looked for. |
|
get |
Returns the perfix for SI units that has the specified Id, or null if such prefix can not be found.
id | Prefix ID that is looked for. |
|
getprotected |
Sorted list of existing SI prefixes indexed by prefix symbol.
|
getprotected |
Sorted list of existing SI prefixes indexed by prefix Id (enumerator).