tagion.betterC.hibon.HiBONBase

\file HiBONBase.d

Members

Enums

Type
enum Type

HiBON Type codes

isBasicValueType
eponymoustemplate isBasicValueType(T)
Undocumented in source.
isDataBlock
eponymoustemplate isDataBlock(T)
Undocumented in source.

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

isDataBlock
bool isDataBlock(Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
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

to_uint
uint to_uint(string num)
Undocumented in source. Be warned that the author may not have intended to support it.
to_ulong
ulong to_ulong(const(char[]) num)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

HIBON_VERSION
enum HIBON_VERSION;
Undocumented in source.

Structs

DataBlock
struct DataBlock
Undocumented in source.
Key
struct Key
Undocumented in source.

Templates

Init_HiBON_Types
template Init_HiBON_Types(string text, uint i)
Undocumented in source.
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

Meta