Table of Contents

Namespace Mech3DotNet.Reader

Classes

ConversionException
NotFoundException
ReaderException
ReaderFloat
ReaderInt
ReaderList
ReaderString
ReaderValue

A value in reader ZBD data.

ReaderValueReadException

An error occurred reading a ReaderValue from binary.

Structs

Color
Combinator

Combinator for two IQueryOperation.

This results in a new IQueryOperation that can be applied directly, which is useful for fusing/combining two IQueryOperation.

FindByIndex

An operation to find a single ReaderValue by index in a ReaderList.

The index may be negative, in which case the index is calculated from the back of the array.

FindByKey

An operation to find one or more ReaderValue by key in a ReaderList.

This operation returns multiple values. Each value is the next index of the key.

FindOnly

An operation to unpack a single ReaderValue from a ReaderList.

IndexWise

Enumerate all ReaderValue in a ReaderList.

PairWise

Enumerate all ReaderValue in a ReaderList as pairs.

PairWiseEnumerator
Query

Allows applying multiple IQueryOperation to a ReaderValue, while tracking the path of the queries through the data.

Range
ToArray<T>
ToBool
ToColor
ToDict<T>
ToFloat
ToInt
ToKeyValue<T>
ToList<T>
ToNumber
ToRange
ToStr
ToVec3
Vec3

Interfaces

IConvertOperation<T>

Implemented by operations to convert a ReaderValue to a specific type.

IQueryOperation

Implemented by operations to query a ReaderValue, usually a ReaderList.

Enums

ReaderValueKind

The kind of ReaderValue.