ValueT

HiBON Generic value used by the HiBON class and the Document struct

Constructors

this
this(Document doc)
Undocumented in source.
this
this(Document doc)
Undocumented in source.
this
this(T x)

Construct a Value of the type T

this
this(BigNumber big)

Constructs a Value of the type BigNumber

this
this(DataBlock datablock)
Undocumented in source.
this
this(sdt_t x)
Undocumented in source.

Members

Aliases

NativeValueDataTypes
alias NativeValueDataTypes = AliasSeq!()
Undocumented in source.
TypeT
alias TypeT(Type aType) = typeof(by!aType())

Convert a HiBON Type to a D-type

Enums

asType
eponymoustemplate asType(T)

convert the T to a HiBON-Type

hasType
eponymoustemplate hasType(T)

is true if the type T is support by the HiBON

Functions

by
auto by()

* @return the value as HiBON type E

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(T x)

Assign the value to x @param x = value to be assigned

size
uint size()

@return the size on bytes of the value as a HiBON type E

Templates

GetType
template GetType(T, TList...)
Undocumented in source.

Variables

bigint
BigNumber bigint;
Undocumented in source.
binary
immutable(ubyte)[] binary;
Undocumented in source.
boolean
bool boolean;
Undocumented in source.
date
sdt_t date;
Undocumented in source.
document
HiBON document;
Undocumented in source.
document
Document document;
Undocumented in source.
float32
float float32;

HiBON Generic value used by the HiBON class and the Document struct

float64
double float64;
Undocumented in source.
hashdoc
DataBlock hashdoc;
Undocumented in source.
int32
int int32;
Undocumented in source.
int64
long int64;
Undocumented in source.
native_document
Document native_document;
Undocumented in source.
native_document_array
Document[] native_document_array;
Undocumented in source.
native_hibon_array
HiBON[] native_hibon_array;
Undocumented in source.
native_string_array
string[] native_string_array;
Undocumented in source.
text
string text;
Undocumented in source.
uint32
uint uint32;
Undocumented in source.
uint64
ulong uint64;
Undocumented in source.

Meta