Click or drag to resize

INIReader Methods

The INIReader type exposes the following members.

Methods
  NameDescription
Public methodasBool(String)
return value associated to a key as a bool. Throws an exception if key could not be found.
Public methodasBool(String, Boolean)
return value associated to a key as a bool.
Public methodasColor(String)
return a color associated with a key.
Public methodasColor(String, Color)
Return a color associated with a key.
Public methodasColorList(String)
return a list of colors associated with a key.
Public methodasColorList(String, ListColor)
return a list of colors associated with a key.
Public methodasCustomUnitsList
Returns a list of tuples of strings where the first string is the physical unit to be replaced, the second item the unit to be used instead consistency of units is not checked.
Public methodasDouble(String)
return value associated to a key as an double. Throws an exception if key could not be found.
Public methodasDouble(String, Double)
return value associated to a key as an double.
Public methodasDoubleList
return values associated to a key as a list of doubles.
Public methodasInt(String)
return value associated to a key as an int. Throws an exception if key could not be found.
Public methodasInt(String, Int32)
return value associated to a key as an int.
Public methodasString(String)
return value associated to a key as a string. Throws an exception if key could not be found.
Public methodasString(String, String)
return value associated to a key as a string.
Public methodStatic memberClearSingleton
remove the INIReader singleton so that it can be re-instantiated.
Public methodContents
Get the contents of the read initialization file as one string.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInstance
Get instance of the "ini"-reader singleton and load the "ini"-file from the standard GH-path where karamba resides.
Public methodStatic memberInstance(String)
Get instance of the "ini"-reader singleton and load the "ini"-file from the given path if not already done.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodreadValues
Scans through lines of text and extract key/value pairs.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also