C# Class HFMCmd.FixedWidthOutput

Base class for IOutput implementations that output data in fixed width format.
Inheritance: IOutput
ファイルを表示 Open project: agardiner/hfmcmd

Public Properties

Property Type Description
DefaultFieldWidth int
FieldSeparator string

Protected Properties

Property Type Description
_cancelled bool
_fieldNames string[]
_format string
_iteration int
_progress int
_records int
_total int
_totalIterations int
_widths int[]

Public Methods

Method Description
End ( bool suppress ) : void
EndProgress ( ) : void
InitProgress ( string operation, int iterations, int total ) : void
IterationComplete ( ) : bool
SetHeader ( ) : void
SetProgress ( int progress ) : bool
Wrap ( ) : List

Wraps record values according to the current column widths, and returns a List of lines, formatted to line up correctly in the fields.

WriteLine ( string format ) : void
WriteRecord ( ) : void

Protected Methods

Method Description
CompletionPct ( ) : int

Method Details

CompletionPct() protected method

protected CompletionPct ( ) : int
return int

End() public method

public End ( bool suppress ) : void
suppress bool
return void

EndProgress() public method

public EndProgress ( ) : void
return void

InitProgress() public method

public InitProgress ( string operation, int iterations, int total ) : void
operation string
iterations int
total int
return void

IterationComplete() public method

public IterationComplete ( ) : bool
return bool

SetHeader() public method

public SetHeader ( ) : void
return void

SetProgress() public method

public SetProgress ( int progress ) : bool
progress int
return bool

Wrap() public method

Wraps record values according to the current column widths, and returns a List of lines, formatted to line up correctly in the fields.
public Wrap ( ) : List
return List

WriteLine() public abstract method

public abstract WriteLine ( string format ) : void
format string
return void

WriteRecord() public method

public WriteRecord ( ) : void
return void

Property Details

DefaultFieldWidth public_oe property

public int DefaultFieldWidth
return int

FieldSeparator public_oe property

public string FieldSeparator
return string

_cancelled protected_oe property

protected bool _cancelled
return bool

_fieldNames protected_oe property

protected string[] _fieldNames
return string[]

_format protected_oe property

protected string _format
return string

_iteration protected_oe property

protected int _iteration
return int

_progress protected_oe property

protected int _progress
return int

_records protected_oe property

protected int _records
return int

_total protected_oe property

protected int _total
return int

_totalIterations protected_oe property

protected int _totalIterations
return int

_widths protected_oe property

protected int[] _widths
return int[]