Click or drag to resize

CroSecTable Class

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

Namespace:  Karamba.CrossSections
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class CroSecTable : CSVReader

The CroSecTable type exposes the following members.

Constructors
  NameDescription
Public methodCroSecTable
create an empty table
Top
Properties
  NameDescription
Public propertycrosecs
return list of all cross sections defined in the table
Public propertyitemsTable
get raw table of items which was ranked by the user
(Inherited from CSVReader.)
Top
Methods
  NameDescription
Public methodbuildCroSecFromTableRow
build a cross section object from a given set of items which contain the cross section properties.
Public methodcolourValue
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.)
Public methoddoubleValue(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.)
Public methoddoubleValue(ListString, Int32, Double)
try to retrieve value with index id1; if not successful return val
(Inherited from CSVReader.)
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 methoditems
get items of line in table that is identified by a zero based index
(Inherited from CSVReader.)
Public methodlineNumber
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.)
Public methodlongValue(ListString, Int32)
retrieve integer data from line of CSV-data
(Inherited from CSVReader.)
Public methodlongValue(ListString, Int32, Int64)
try to retrieve value with index id1; if not successful return val
(Inherited from CSVReader.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodread(String)
fill table with date from CVS-file
Public methodread(String, Int32)
read CSV-file from given path, sort resulting table according to item in specified column if required
Public methodread(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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also