DummyBlock

Undocumented in source.

Members

Functions

getHash
Fingerprint getHash()
Undocumented in source. Be warned that the author may not have intended to support it.
getPrevious
Fingerprint getPrevious()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin HiBONRecord!(q{ private this( Fingerprint previous, const(HashNet) net, int dummy = 0) { this.previous = previous; this.dummy = dummy; this.hash = net.calcHash(toDoc); } private this( const(Document) doc, const(HashNet) net) { this(doc); this.hash = net.calcHash(toDoc); } })
Undocumented in source.

Variables

dummy
int dummy;
Undocumented in source.
hash
Fingerprint hash;
Undocumented in source.
previous
Fingerprint previous;
Undocumented in source.

Mixed In Members

From mixin HiBONRecord!(q{ private this( Fingerprint previous, const(HashNet) net, int dummy = 0) { this.previous = previous; this.dummy = dummy; this.hash = net.calcHash(toDoc); } private this( const(Document) doc, const(HashNet) net) { this(doc); this.hash = net.calcHash(toDoc); } })

check
alias check = Check!(HiBONRecordException)
Undocumented in source.
__anonymous
mixin JSONString
Undocumented in source.
__anonymous
mixin HiBONRecordType
Undocumented in source.
isRecord
alias isRecord = HiBONRecord.isRecord!ThisType
Undocumented in source.
HAS_TYPE
enum HAS_TYPE;
Undocumented in source.
less_than
bool less_than(Key a, Key b)
Undocumented in source. Be warned that the author may not have intended to support it.
toHiBON
inout(HiBON) toHiBON()
Undocumented in source. Be warned that the author may not have intended to support it.
NO_DEFAULT_CTOR
enum NO_DEFAULT_CTOR;
Undocumented in source.
GetKeyName
template GetKeyName(uint i)
Undocumented in source.
_keys
string[] _keys()
keys
enum keys;
Undocumented in source.
this
this(HiBON hibon)
Undocumented in source.
this
this(Document doc)
Undocumented in source.
serialize
immutable(ubyte[]) serialize()
Undocumented in source. Be warned that the author may not have intended to support it.
toDoc
const(Document) toDoc()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From HashChainBlock

getHash
Fingerprint getHash()

Returns hash of block \return hash

getPrevious
Fingerprint getPrevious()

Returns fingerprint of previous block in chain \return fingerprint of previous block

toHiBON
inout(HiBON) toHiBON()

Converts structure to HiBON \return HiBON copy of this structure

isRoot
bool isRoot()

Function that says whether this block has no predecessors \return true if this block is root block

Meta