tagion.betterC.hibon.HiBONBase

\file HiBONBase.d

Members

Enums

Type
enum Type

HiBON Type codes

Functions

isArray
bool isArray(Type type)

@return true if the type is a HiBON data array (This is not the same as HiBON.isArray)

isArray
bool isArray(R keys)

Check if all the keys in range is indices and are consecutive @return true if keys is the indices of an HiBON array

isHiBONBaseType
bool isHiBONBaseType(Type type)

@return true if the type is a valid HiBONRecord excluding narive types

isNative
bool isNative(Type type)

@return true if the type is a internal native HiBON type

is_index
bool is_index(const(char[]) a, uint result)

Converts from a text to a index @param a = the string to be converted to an index @param result = index value @return true if a is an index

is_key_ordered
bool is_key_ordered(R range)

Checks if the keys in the range is ordred @return true if all keys in the range is ordered

is_key_valid
bool is_key_valid(const(char[]) a)

@return true if the key is a valid HiBON key

key_compare
int key_compare(const(char[]) a, const(char[]) b)

This function decides the order of the HiBON keys

Templates

isOneOf
template isOneOf(T, TList...)

Unions

ValueT
union ValueT(bool NATIVE = false, HiBON, Document)

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