IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Represents a prefix for the SI units of measure. Contains constants for all SI predixes. Class is immutable. It also has no public constructors, so instances can not be created by users of the class. The only existing instances are the constants that represent all existing prefixes of the SI units of measures, which are static constant fields of this class with predefined values. More...
Classes | |
class | PrefixCollection |
Collection of al prefixes for the SI units. More... | |
Public Member Functions | |
override string | ToString () |
Soncersion to string - returns the value of the Symbol property. More... | |
string | ToStringLong () |
Static Public Member Functions | |
static void | PrintList () |
Prints a list of all built in SI prefixes. More... | |
Protected Member Functions | |
SIPrefix (SIPrefixes id, int log10Factor, double factor, string name, string prefix, string description) | |
Constructs a new SI units prefix. More... | |
Properties | |
SIPrefixes | Id [get] |
ID of the prefix for SI units of measure, an enumerator of type SIPrefixes. More... | |
double | Log10Factor [get] |
Base 10 logarithm of the factor represented by the current SI units prefix. More... | |
double | Factor [get] |
Factor represented by the current SI units prefix. More... | |
string | Symbol [get] |
Symbol of the current prefix for the SI units of measure such as "m", "μ", "k", "M", "T". More... | |
string | PrefixString [get] |
Name of the prefix, such as "milli-", "micro-", or "mega". More... | |
string | Description [get] |
Short description of the current prefix for the SI units of measure. More... | |
static SIPrefix | None [get] |
Standard prefix for SI units of measure, None (no prefix), 1.0. More... | |
static SIPrefix | da [get] |
Standard prefix for SI units of measure, da (deca-), 10^1. More... | |
static SIPrefix | h [get] |
Standard prefix for SI units of measure, h (hecto-), 10^2. More... | |
static SIPrefix | k [get] |
Standard prefix for SI units of measure, k (kilo-), 10^3. More... | |
static SIPrefix | M [get] |
<Standard prefix for SI units of measure, M (mega-), 10^6./summary> More... | |
static SIPrefix | G [get] |
Standard prefix for SI units of measure, G (giga-), 10^9. More... | |
static SIPrefix | T [get] |
Standard prefix for SI units of measure, T (tera-), 10^12. More... | |
static SIPrefix | P [get] |
Standard prefix for SI units of measure, P (peta-), 10^15. More... | |
static SIPrefix | E [get] |
Standard prefix for SI units of measure, E (exa-), 10^18. More... | |
static SIPrefix | Z [get] |
Standard prefix for SI units of measure, Z (zetta-), 10^21. More... | |
static SIPrefix | Y [get] |
Standard prefix for SI units of measure, Y (yotta-), 10^24. More... | |
static SIPrefix | d [get] |
Standard prefix for SI units of measure, d (deci-), 10^-1. More... | |
static SIPrefix | c [get] |
Standard prefix for SI units of measure, c (centi-), 10^-2. More... | |
static SIPrefix | m [get] |
Standard prefix for SI units of measure, m (milli-), 10^-3. More... | |
static SIPrefix | micro [get] |
Standard prefix for SI units of measure, μ (micro-), 10^-6. More... | |
static SIPrefix | n [get] |
Standard prefix for SI units of measure, n (nano-), 10^-9. More... | |
static SIPrefix | p [get] |
Standard prefix for SI units of measure, p (pico-), 10^-12. More... | |
static SIPrefix | f [get] |
Standard prefix for SI units of measure, f (femto-), 10^-15. More... | |
static SIPrefix | a [get] |
Standard prefix for SI units of measure, a (ato-), 10^-18. More... | |
static SIPrefix | z [get] |
Standard prefix for SI units of measure, z (zepto-), 10^-21. More... | |
static SIPrefix | y [get] |
Standard prefix for SI units of measure, y (yocto-), 10^-24. More... | |
static PrefixCollection | List [get] |
Returns a collection that contains all currently built-in SI unit prefixes. More... | |
Private Attributes | |
SIPrefixes | _id |
int | _log10Factor |
double | _factor |
string | _symbol |
string | _prefixString |
string | _description |
Static Private Attributes | |
static SIPrefix | _none |
static SIPrefix | _da |
static SIPrefix | _h |
static SIPrefix | _k |
static SIPrefix | _M |
static SIPrefix | _G |
static SIPrefix | _T |
static SIPrefix | _P |
static SIPrefix | _E |
static SIPrefix | _Z |
static SIPrefix | _Y |
static SIPrefix | _d |
static SIPrefix | _c |
static SIPrefix | _m |
static SIPrefix | _micro |
static SIPrefix | _n |
static SIPrefix | _p |
static SIPrefix | _f |
static SIPrefix | _a |
static SIPrefix | _z |
static SIPrefix | _y |
static PrefixCollection | _prefixList = new PrefixCollection() |
Represents a prefix for the SI units of measure. Contains constants for all SI predixes. Class is immutable. It also has no public constructors, so instances can not be created by users of the class. The only existing instances are the constants that represent all existing prefixes of the SI units of measures, which are static constant fields of this class with predefined values.
|
inlineprotected |
Constructs a new SI units prefix.
id | ID of the SI prefix, enumerator of type SIPrefixes. |
log10Factor | Base 10th logarithm of the factor represented by the prefix. |
factor | Factor represented by the prefix. |
name | Symbol of the prefix that is used in expressions, e.g. "m", "p", "μ", "T", "G". |
prefix | Name of the prefix such as "kilo-", "milli-", etc. |
description | Short description of the prefix. |
References IG.Physics.SIPrefix.PrefixCollection.Add(), and IG.Physics.SIPrefix.List.
|
inline |
Soncersion to string - returns the value of the Symbol property.
|
inline |
|
inlinestatic |
Prints a list of all built in SI prefixes.
References IG.Physics.SIPrefix.List, and IG.Physics.SIPrefix.PrefixCollection.ToArray().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
get |
ID of the prefix for SI units of measure, an enumerator of type SIPrefixes.
Referenced by IG.Physics.SIPrefix.PrefixCollection.Add().
|
get |
Base 10 logarithm of the factor represented by the current SI units prefix.
|
get |
Factor represented by the current SI units prefix.
|
get |
Symbol of the current prefix for the SI units of measure such as "m", "μ", "k", "M", "T".
Referenced by IG.Physics.SIPrefix.PrefixCollection.Add().
|
get |
Name of the prefix, such as "milli-", "micro-", or "mega".
|
get |
Short description of the current prefix for the SI units of measure.
|
staticget |
Standard prefix for SI units of measure, None (no prefix), 1.0.
|
staticget |
Standard prefix for SI units of measure, da (deca-), 10^1.
|
staticget |
Standard prefix for SI units of measure, h (hecto-), 10^2.
|
staticget |
Standard prefix for SI units of measure, k (kilo-), 10^3.
|
staticget |
<Standard prefix for SI units of measure, M (mega-), 10^6./summary>
|
staticget |
Standard prefix for SI units of measure, G (giga-), 10^9.
|
staticget |
Standard prefix for SI units of measure, T (tera-), 10^12.
|
staticget |
Standard prefix for SI units of measure, P (peta-), 10^15.
|
staticget |
Standard prefix for SI units of measure, E (exa-), 10^18.
|
staticget |
Standard prefix for SI units of measure, Z (zetta-), 10^21.
|
staticget |
Standard prefix for SI units of measure, Y (yotta-), 10^24.
|
staticget |
Standard prefix for SI units of measure, d (deci-), 10^-1.
|
staticget |
Standard prefix for SI units of measure, c (centi-), 10^-2.
|
staticget |
Standard prefix for SI units of measure, m (milli-), 10^-3.
|
staticget |
Standard prefix for SI units of measure, μ (micro-), 10^-6.
|
staticget |
Standard prefix for SI units of measure, n (nano-), 10^-9.
|
staticget |
Standard prefix for SI units of measure, p (pico-), 10^-12.
|
staticget |
Standard prefix for SI units of measure, f (femto-), 10^-15.
|
staticget |
Standard prefix for SI units of measure, a (ato-), 10^-18.
|
staticget |
Standard prefix for SI units of measure, z (zepto-), 10^-21.
|
staticget |
Standard prefix for SI units of measure, y (yocto-), 10^-24.
|
staticget |
Returns a collection that contains all currently built-in SI unit prefixes.
Referenced by IG.Physics.SIPrefix.PrintList(), and IG.Physics.SIPrefix.SIPrefix().