IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Physics.SIPrefix.PrefixCollection Class Reference

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, SIPrefixSymbolList [get]
 Sorted list of existing SI prefixes indexed by prefix symbol. More...
 
SortedList< SIPrefixes, SIPrefixIdList [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>()
 

Detailed Description

Collection of al prefixes for the SI units.

Member Function Documentation

SIPrefix [] IG.Physics.SIPrefix.PrefixCollection.ToArray ( )
inline

Returns array of all SI unit prefixes contained in the current prefix collection.

Referenced by IG.Physics.SIPrefix.PrintList().

void IG.Physics.SIPrefix.PrefixCollection.Add ( SIPrefix  prefix)
inline

Member Data Documentation

SortedList<string, SIPrefix> IG.Physics.SIPrefix.PrefixCollection._symbolList = new SortedList<string, SIPrefix>()
private
SortedList<SIPrefixes, SIPrefix> IG.Physics.SIPrefix.PrefixCollection._IdList = new SortedList<SIPrefixes, SIPrefix>()
private

Property Documentation

SIPrefix IG.Physics.SIPrefix.PrefixCollection.this[string symbol]
get

Returns the perfix for SI units that has the specified symbol, or null if such prefix can not be found.

Parameters
symbolSymbol fo the prefix that is searched for.
SIPrefix IG.Physics.SIPrefix.PrefixCollection.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.

Parameters
idInteger equivalent of the prefix ID that is looked for.
SIPrefix IG.Physics.SIPrefix.PrefixCollection.this[SIPrefixes id]
get

Returns the perfix for SI units that has the specified Id, or null if such prefix can not be found.

Parameters
idPrefix ID that is looked for.
SortedList<string, SIPrefix> IG.Physics.SIPrefix.PrefixCollection.SymbolList
getprotected

Sorted list of existing SI prefixes indexed by prefix symbol.

SortedList<SIPrefixes, SIPrefix> IG.Physics.SIPrefix.PrefixCollection.IdList
getprotected

Sorted list of existing SI prefixes indexed by prefix Id (enumerator).


The documentation for this class was generated from the following file: