DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
Loading...
Searching...
No Matches
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.
 TableConfigColumn (int ColumnNumber, string ColumnData, bool ThrowExceptions=false)
 Initializes a new instance of the TableConfigColumn class and parses data for a column.
 TableConfigColumn ()
 Initializes a new instance of the TableConfigColumn class.

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ TableConfigColumn() [1/2]

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.

◆ TableConfigColumn() [2/2]

DirectOutput.LedControl.Loader.TableConfigColumn.TableConfigColumn ( )

Initializes a new instance of the TableConfigColumn class.

Member Function Documentation

◆ ParseColumnData()

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, false if a exception occurred during parsing.
Exceptions
System.ExceptionCould not parse setting {0} in column data {1}.

Property Documentation

◆ FirstOutputNumber

int DirectOutput.LedControl.Loader.TableConfigColumn.FirstOutputNumber
getset

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

The number of the first output for this column.

◆ IsArea

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.

◆ Number

int DirectOutput.LedControl.Loader.TableConfigColumn.Number
getset

Gets or sets the number of the column.

The number of the column.

◆ RequiredOutputCount

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: