C# Класс BitOrchestra.Evaluator

An evaluator for an expression that operates on a fixed buffer size.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Ready bool

Открытые методы

Метод Описание
Generate ( Int32 Start, Int32 Buffer ) : void

Generates the values of the evaluator starting at the given offset and writes them to the given buffer.

GetBuffered ( int BufferSize ) : BufferedEvaluator

Gets a buffered form of this evaluator. If this is already buffered, this is returned.

Invalidate ( ) : void

Discards all intermediate results for the last Generate call and prepares the evaluator for another iteration.

Описание методов

Generate() публичный абстрактный Метод

Generates the values of the evaluator starting at the given offset and writes them to the given buffer.
public abstract Generate ( Int32 Start, Int32 Buffer ) : void
Start System.Int32
Buffer System.Int32
Результат void

GetBuffered() публичный Метод

Gets a buffered form of this evaluator. If this is already buffered, this is returned.
public GetBuffered ( int BufferSize ) : BufferedEvaluator
BufferSize int
Результат BufferedEvaluator

Invalidate() публичный Метод

Discards all intermediate results for the last Generate call and prepares the evaluator for another iteration.
public Invalidate ( ) : void
Результат void

Описание свойств

Ready публичное свойство

Indicates wether this evaluator has data for the previous Generate call. This can be made false with Invalidate.
public bool Ready
Результат bool