CroSecTable Class

represents a table of cross sections which can be filled with data from a CVS-file.

Definition

Namespace: Karamba.CrossSections
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public class CroSecTable : CSVReader
Inheritance
Object    CSVReader    CroSecTable

Constructors

CroSecTable Initializes a new instance of the CroSecTable class. create an empty table.

Properties

crosecs Gets the list of all cross sections defined in the table.
itemsTable Gets the raw table of items which was ranked by the user.
(Inherited from CSVReader)

Methods

buildCroSecFromTableRow Build a cross section object from a given set of items which contain the cross section properties.
colourValue retrieve color data from line of csv-data. selection_ids contains indices of items to be converted to colors. Values non-existent in the table cause the default color to be returned.
(Inherited from CSVReader)
doubleValue(ListString, Int32) retrieve numerical data from line of csv-data. selection_ids contains indices of items to be converted to numbers. Values non-existent in the table cause an exception. Decimal separators may be '.' or ','.
(Inherited from CSVReader)
doubleValue(ListString, Int32, Double) Try to retrieve value with index id1; if not successful return val.
(Inherited from CSVReader)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
items get items of line in table that is identified by a zero based index.
(Inherited from CSVReader)
lineNumber return line number in CSV-file of row with given index. Index and line number may deviate in case of remark rows.
(Inherited from CSVReader)
longValue(ListString, Int32) retrieve integer data from line of CSV-data.
(Inherited from CSVReader)
longValue(ListString, Int32, Int64) Try to retrieve value with index id1; if not successful return val.
(Inherited from CSVReader)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
read(String) Fill table with date from CVS-file.
read(String, Int32) read CSV-file from given path, sort resulting table according to item in specified column if required.
read(String, Int32, Boolean, Boolean) read table, convert contents to upper case, remove blanks and sort by field FieldID if required. Sort table according to column given by FieldID if its value is > 0.
(Inherited from CSVReader)
stringValue retrieve string data from line of csv-data. selection_ids contains indices of items to be converted to string. Values non-existent in the table cause the default string to be returned.
(Inherited from CSVReader)
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also