tagion.hibon.HiBONRecord

Undocumented in source.

Members

Aliases

DocResult
alias DocResult = Tuple!(Document.Element.ErrorCode, "error", string, "key")
Undocumented in source.

Enums

HiBONPrefix
enum HiBONPrefix
Undocumented in source.
isHiBON
eponymoustemplate isHiBON(T)
isHiBONRecord
eponymoustemplate isHiBONRecord(T)
isHiBONTypeArray
eponymoustemplate isHiBONTypeArray(T)
Undocumented in source.

Functions

getType
string getType(Document doc)

Gets the docTYPENAME from the document.

hasHashKey
bool hasHashKey(T doc)
Undocumented in source. Be warned that the author may not have intended to support it.
isRecord
bool isRecord(Document doc)

Used for HiBONRecords which have a recorder type Param: T is the type of the recorder to be checked Param: doc

isStub
bool isStub(Document doc)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

STUB
enum STUB;
Undocumented in source.
TYPENAME
enum TYPENAME;
Undocumented in source.
VOID
enum VOID;
Undocumented in source.

Mixin templates

HiBONRecord
mixintemplate HiBONRecord(string CTOR = "")

HiBON Helper template to implement constructor and toHiBON member functions

HiBONRecordType
mixintemplate HiBONRecordType()
Undocumented in source.

Structs

exclude
struct exclude
Undocumented in source.
filter
struct filter

filter attribute for toHiBON

fixed
struct fixed

Used to set a member default value of the member is not defined in the Document

inspect
struct inspect

Validates the Document type on construction

label
struct label

Label use to set the HiBON member name

optional
struct optional
Undocumented in source.
recordType
struct recordType

Sets the HiBONRecord type

Templates

GetLabel
template GetLabel(alias member)

Gets the label for HiBON member

isSpecialKeyType
template isSpecialKeyType(T)
Undocumented in source.

Meta