UniTree

A UniTree struct

Constructors

this
this(T val)

Common constructor

this
this(T val)

Common constructor

this
this(T val)

Common constructor

this
this(T val)

Sequence constructor

Alias This

node

Members

Functions

get
inout(T) get()

Convert UniNode to primitive type

get
inout(T) get(string path)

Get the node

getMapping
inout(UniTree[string]) getMapping()

Convert UniNode to mapping

getMapping
inout(UniTree[string]) getMapping(string path)

Convert UniNode to mapping

getOrElse
inout(T) getOrElse(T alt)

Convert UniNode to primitive type or return alternative value

getOrElse
inout(T) getOrElse(string path, T alt)

Convert UniNode to primitive type or return alternative value

getOrThrown
inout(T) getOrThrown(string path, string msg, size_t line, string file)

Getting node or throw exception with path

getOrThrown
inout(T) getOrThrown(string msg, size_t line, string file)

Getting node or throw exception

getSequence
inout(UniTree[]) getSequence()

Convert UniNode to sequence

getSequence
inout(UniTree[]) getSequence(string path)

Convert UniNode to sequence

opBinary
UniTree opBinary(UniTree src)

Recursive merge properties

opBinaryRight
inout(UniTree)* opBinaryRight(string path)

Checking for the presence of the node in the specified path

opEquals
bool opEquals(const(UniTree) rhs)

Compares two UniNodes for equality.

opt
Nullable!(const(T)) opt()

Convert UniNode to optional primitive type

opt
Nullable!(T) opt()

Convert UniNode to optional primitive type

opt
Nullable!(const(T)) opt(string path)

Get the tree

opt
Nullable!(T) opt(string path)

Get the tree

toHash
size_t toHash()

Returns the hash of the UniNode's current value.

Variables

node
Node node;

Node implementation

Meta