C# 클래스 YAMP.SubPlotValue

A container class for various plots.
상속: PlotValue, IFunction, ISetFunction
파일 보기 프로젝트 열기: FlorianRappl/YAMP 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddSubPlot SubPlotValue
InspectIndex void

공개 메소드들

메소드 설명
AddSubPlot ( int row, int column, PlotValue plot, int rowSpan = 1, int columnSpan = 1 ) : SubPlotValue

Adds a new subplot to the container.

Deserialize ( byte content ) : Value

Creates a new instance from a given binary content.

Perform ( ParseContext context, Value argument ) : Value

Gets a (sub) plot from this container.

Perform ( ParseContext context, Value indices, Value values ) : Value

Sets a subplot by specifying some indices and the value.

Serialize ( ) : byte[]

Takes the current instance into binary form.

SubPlotValue ( ) : System

Creates a new instance.

this ( int index ) : SubPlot

Gets the i-th subplot, where i is the index in the list of subplots.

비공개 메소드들

메소드 설명
AddSubPlot ( ParseContext context, int row, int column, PlotValue plot, int rowSpan = 1, int columnSpan = 1 ) : SubPlotValue
InspectIndex ( Value value, int &index, int &span ) : void

메소드 상세

AddSubPlot() 공개 메소드

Adds a new subplot to the container.
public AddSubPlot ( int row, int column, PlotValue plot, int rowSpan = 1, int columnSpan = 1 ) : SubPlotValue
row int The 1-based row index.
column int The 1-based column index.
plot PlotValue The plot to add.
rowSpan int The row span.
columnSpan int The column span.
리턴 SubPlotValue

Deserialize() 공개 메소드

Creates a new instance from a given binary content.
public Deserialize ( byte content ) : Value
content byte The binary content.
리턴 Value

Perform() 공개 메소드

Gets a (sub) plot from this container.
public Perform ( ParseContext context, Value argument ) : Value
context ParseContext The context from which this is going on.
argument Value The indices as arguments.
리턴 Value

Perform() 공개 메소드

Sets a subplot by specifying some indices and the value.
public Perform ( ParseContext context, Value indices, Value values ) : Value
context ParseContext The context where this is happening.
indices Value The indices to set it (1-dim or 2-dim).
values Value The subplot to set.
리턴 Value

Serialize() 공개 메소드

Takes the current instance into binary form.
public Serialize ( ) : byte[]
리턴 byte[]

SubPlotValue() 공개 메소드

Creates a new instance.
public SubPlotValue ( ) : System
리턴 System

this() 공개 메소드

Gets the i-th subplot, where i is the index in the list of subplots.
public this ( int index ) : SubPlot
index int The index i, which is greater or equal to 0 and lighter than Count.
리턴 SubPlot