C# Класс YAMP.SubPlotValue

A container class for various plots.
Наследование: PlotValue, IFunction, ISetFunction
Показать файл Открыть проект Примеры использования класса

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