Document.Element

HiBON Element representation

Constructors

this
this(immutable(ubyte[]) data)
Undocumented in source.

Members

Enums

ErrorCode
enum ErrorCode
Undocumented in source.

Functions

opEquals
bool opEquals(T rhs)
valid
ErrorCode valid(Reserved reserved)

Check if the element is valid

Properties

as
T as [@property setter]

Tryes to convert the value to the type T.

by
auto by [@property getter]
dataPos
uint dataPos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dataSize
uint dataSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get [@property getter]
get
T get [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
index
uint index [@property getter]
isEod
bool isEod [@property getter]
isIndex
bool isIndex [@property getter]
isThat
bool isThat [@property getter]

Check if the type match That template. That template must have one parameter T as followes

isType
bool isType [@property getter]

Retruns: true if the elemnt is of T

key
string key [@property getter]
keyLen
uint keyLen [@property getter]
keyPos
uint keyPos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
Element opEquals [@property setter]

Compare two elements

size
size_t size [@property getter]
type
Type type [@property getter]
value
const(Value*) value [@property getter]
valuePos
uint valuePos [@property getter]

Variables

data
immutable(ubyte[]) data;
Undocumented in source.

Meta