HiBONT.Member

* Internal Member in the HiBON class

Constructors

this
this(T x, const(char[]) key)

Construct a Member @param x = the parameter value @param key = the name of the member

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

by
auto by()

@return the value as HiBON Type E @throw if the member does not match the type T and HiBONException is thrown

document
const(HiBONT*) document()

If the value of the Member contains a Document it returns it or else an error is asserted @return the value as a Document

get
const(T) get()

@return the value as type T @throw if the member does not match the type T and HiBONException is thrown

size
size_t size()

Calculates the size in bytes of the Member @return the size in bytes