hummus.cfg

Automatic compile-time configuration discovery and provisioning

Members

Functions

fieldsOf
void fieldsOf(T s, Provider p)

Generates the field names of the given structure and fills them in with values from the given provider.

fieldsOf
void fieldsOf(T s, Provider p, string r)

This is a compile-time recursive function that wil generate multiple versions of itself in order to discover the full structure of the struct type T.

fill
void fill(T structType, Provider p, string rootName)

Given a structure and a provider this will discover all the required fields and then fill those fields with values provided by the provider.

fill
void fill(T structType, Provider p)

Given a structure and a provider this will discover all the required fields and then fill those fields with values provided by the provider

Meta

Authors

Tristan Brice Velloza Kildaire (deavmi)