DirectOutput
DirectOutput framework R2 for virtual pinball cabinets.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
DirectOutput.LedControl.Loader.TableConfigColumn Class Reference

Column in a LedControl.ini file.
Is a list of TableConfigSettingObjects for that column. More...

Inheritance diagram for DirectOutput.LedControl.Loader.TableConfigColumn:
Collaboration diagram for DirectOutput.LedControl.Loader.TableConfigColumn:

Public Member Functions

bool ParseColumnData (string ColumnData, bool ThrowExceptions=false)
 Parses data for a column from a LedControl.ini file. More...
 
 TableConfigColumn (int ColumnNumber, string ColumnData, bool ThrowExceptions=false)
 Initializes a new instance of the TableConfigColumn class and parses data for a column. More...
 
 TableConfigColumn ()
 Initializes a new instance of the TableConfigColumn class. More...
 

Properties

int Number [get, set]
 Gets or sets the number of the column. More...
 
int FirstOutputNumber [get, set]
 Gets or sets the number of the first ouput for this column. More...
 
int RequiredOutputCount [get]
 Gets the number of required outputs for the column. More...
 
bool IsArea [get]
 Gets a value indicating whether any setting in the column has area values. More...
 

Detailed Description

Column in a LedControl.ini file.
Is a list of TableConfigSettingObjects for that column.

Constructor & Destructor Documentation

DirectOutput.LedControl.Loader.TableConfigColumn.TableConfigColumn ( int  ColumnNumber,
string  ColumnData,
bool  ThrowExceptions = false 
)

Initializes a new instance of the TableConfigColumn class and parses data for a column.

Parameters
ColumnNumberThe column number.
ColumnDataThe column data.
ThrowExceptionsIf set to true exceptions are thrown on errors.
DirectOutput.LedControl.Loader.TableConfigColumn.TableConfigColumn ( )

Initializes a new instance of the TableConfigColumn class.

Member Function Documentation

bool DirectOutput.LedControl.Loader.TableConfigColumn.ParseColumnData ( string  ColumnData,
bool  ThrowExceptions = false 
)

Parses data for a column from a LedControl.ini file.

Parameters
ColumnDataThe column data.
ThrowExceptionsIf set to true exceptions are thrown on errors.
Returns
true if all settings have been parsed successfully, fals if a exception occured during parsing.
Exceptions
System.ExceptionCould not parse setting {0} in column data {1}.

Property Documentation

int DirectOutput.LedControl.Loader.TableConfigColumn.FirstOutputNumber
getset

Gets or sets the number of the first ouput for this column.

The number of the first output for this column.

bool DirectOutput.LedControl.Loader.TableConfigColumn.IsArea
get

Gets a value indicating whether any setting in the column has area values.

true if any area settings exists is area; otherwise, false.

int DirectOutput.LedControl.Loader.TableConfigColumn.Number
getset

Gets or sets the number of the column.

The number of the column.

int DirectOutput.LedControl.Loader.TableConfigColumn.RequiredOutputCount
get

Gets the number of required outputs for the column.

The number of required outputs for the column.


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