C# Class Smrf.AppLib.ExcelTableReader.ExcelTableRow

Represents one row in an Excel table.
Use TryGetNonEmptyStringFromCell to get one cell value. Use GetRangeForCell to get the one-cell Range object for a cell.
Inheritance: Object
Show file Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oExcelTableReader ExcelTableReader

Public Methods

Method Description
ExcelTableRow ( ExcelTableReader excelTableReader ) : System

Initializes a new instance of the ExcelTableRow class.

GetRangeForCell ( String columnName ) : Range
TryGetDoubleFromCell ( String columnName, Double &theDouble ) : System.Boolean
TryGetInt32FromCell ( String columnName, Int32 &int32 ) : System.Boolean
TryGetNonEmptyStringFromCell ( String columnName, String &nonEmptyString ) : System.Boolean
TryGetSingleFromCell ( String columnName, System.Single &theSingle ) : System.Boolean

Private Methods

Method Description
AssertValid ( ) : void

Method Details

ExcelTableRow() public method

Initializes a new instance of the ExcelTableRow class.
public ExcelTableRow ( ExcelTableReader excelTableReader ) : System
excelTableReader ExcelTableReader /// The table reader object that owns this object. ///
return System

GetRangeForCell() public method

public GetRangeForCell ( String columnName ) : Range
columnName String
return Range

TryGetDoubleFromCell() public method

public TryGetDoubleFromCell ( String columnName, Double &theDouble ) : System.Boolean
columnName String
theDouble Double
return System.Boolean

TryGetInt32FromCell() public method

public TryGetInt32FromCell ( String columnName, Int32 &int32 ) : System.Boolean
columnName String
int32 System.Int32
return System.Boolean

TryGetNonEmptyStringFromCell() public method

public TryGetNonEmptyStringFromCell ( String columnName, String &nonEmptyString ) : System.Boolean
columnName String
nonEmptyString String
return System.Boolean

TryGetSingleFromCell() public method

public TryGetSingleFromCell ( String columnName, System.Single &theSingle ) : System.Boolean
columnName String
theSingle System.Single
return System.Boolean

Property Details

m_oExcelTableReader protected property

protected ExcelTableReader,Smrf.AppLib m_oExcelTableReader
return ExcelTableReader