Sofu Documentation
Sofu.Sofu Namespace
NamespacesSofu.Sofu

[Missing namespace summary documentation for N:Sofu.Sofu]

Declaration Syntax
C#
namespace Sofu.Sofu
Types
All TypesClasses
IconTypeDescription
BinaryParser0200
This is a parser for binary Sofu files of the version 0.2.0.0

Endianness
Helper class to deal with the many different endianness in binary sofu files. Autodetects input encoding and converts into and from a stream.

List
Represents a Sofu List

Map
Represents a Sofu Map, which is very similar to a dictionary

Parser
Loads a Sofu Tree from a file. Use this only if you are sure that you are reading a normal sofu file

Reference
Represents a Reference. Provides modified AsList, AsValue and AsMap so you can work with it as if it was the referenced object. Also provides modified IsList, IsValue, IsMap and IsDefined. Reference is designed to transparent, normally you shouldn't care if you are working with a Reference or not, just use the file.map("Reference"), file.IsMap("Reference"), file.Object("Reference").AsMap() to get the referenced SofuObject. Even if you create Sofu Files, just put in the same Object twice to have one converted to a Reference during output.

SofuMLParser
Reader for SofuML files, don't use this directly, use SofuReader.LoadFile() instead.

SofuNoTargetException
This exception gets thrown by a Sofu.Reference if there is no valid target.

SofuNotListException
This Exception get thrown if the programmer tries to convert a Value, Map or Undefined into a List

SofuNotMapException
This Exception get thrown if the programmer tries to convert a Value, List or Undefined into a Map

SofuNotValueException
This Exception get thrown if the programmer tries to convert a List, Map or Undefined into a Value

SofuObject
Base class for all Sofu Objects (List, Map, Value, Reference and Undefined). Just a SofuObject should never occour.

SofuReader
Loader class to make it look like SofuD

Undefined
Represent a Sofu.Undefined Undefined Values are of no type and have no value or contents. Their only meaning is to be there when nothing else fits.

Value
Represents a Value in a Sofu Tree