IGLib  1.5
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
IG.Num.SampledDataCsv.DataColumnDefinition Class Reference

Used to define which columns in a data table correspond to which input or output elements. More...

Public Member Functions

bool IsDefined ()
 
override string ToString ()
 Returns string representation of the current column data definition. More...
 

Static Public Member Functions

static string ToStringList (List< DataColumnDefinition > list)
 Returns string representation of a list of data column definitions. More...
 
static string ToStringList (List< DataColumnDefinition > list, string introString)
 Returns string representation of a list of data column definitions. More...
 

Public Attributes

int Column = -1
 Number of column within the data table. More...
 
int ColumnIndex = -1
 Index of the data colum. More...
 
bool IsInputOutputDefined = false
 Whether it is known if the element is input or output element. More...
 
int ElementIndex = -1
 Input or output element index within the data set (defines which input parameter or which output value is defined by the specific element). More...
 

Protected Attributes

bool _isInput = true
 

Properties

bool IsInput [get, set]
 Whether the column belongs to input elements. More...
 

Detailed Description

Used to define which columns in a data table correspond to which input or output elements.

Member Function Documentation

bool IG.Num.SampledDataCsv.DataColumnDefinition.IsDefined ( )
inline
override string IG.Num.SampledDataCsv.DataColumnDefinition.ToString ( )
inline

Returns string representation of the current column data definition.

Referenced by IG.Num.SampledDataCsv.DataColumnDefinition.ToStringList().

static string IG.Num.SampledDataCsv.DataColumnDefinition.ToStringList ( List< DataColumnDefinition list)
inlinestatic

Returns string representation of a list of data column definitions.

Parameters
listList of data column definitions whose string representation is returned.

Referenced by IG.Num.SampledDataCsv.ReadElementIndices(), and IG.Num.SampledDataCsv.ReadElementTypes().

static string IG.Num.SampledDataCsv.DataColumnDefinition.ToStringList ( List< DataColumnDefinition list,
string  introString 
)
inlinestatic

Returns string representation of a list of data column definitions.

Parameters
listList of data column definitions whose string representation is returned.
introStringIntroducory string, which is written in fromt of other data (with additional newline after it). If null or empty string then it is skipped.

References IG.Num.SampledDataCsv.DataColumnDefinition.ToString().

Member Data Documentation

int IG.Num.SampledDataCsv.DataColumnDefinition.ColumnIndex = -1

Index of the data colum.

Corresponds to sequential index of the corresponding column in the data table, in order of appearance in the data table.

Referenced by IG.Num.SampledDataCsv.GetDataColumnDefinitionsFromData(), and IG.Num.SampledDataCsv.ReadElementTypes().

bool IG.Num.SampledDataCsv.DataColumnDefinition.IsInputOutputDefined = false
bool IG.Num.SampledDataCsv.DataColumnDefinition._isInput = true
protected
int IG.Num.SampledDataCsv.DataColumnDefinition.ElementIndex = -1

Property Documentation

bool IG.Num.SampledDataCsv.DataColumnDefinition.IsInput
getset

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