Enum wyrd_property_type

Enum Documentation

enum wyrd_property_type

Properties have a name, a type, and a value. They also have a merge strategy.

The name is an UTF-8 string. This may change in future to better support non-western scripts, but for the time being, this is the simplest choice.

The value and type are linked. Supported property types are related to C primitive types (integers, UTF-8 strings). Additionally, a value may be a binary large object (BLOB) or a container. Containers hold other properties, but no value of their own. Support for more property types is planned, but currently unavailable.

Values:

enumerator WYRD_PT_UNKNOWN

Unknown property type

enumerator WYRD_PT_BLOB

The property is a binary large object (BLOB), i.e. we don’t know anything about it except its size.

enumerator WYRD_PT_UTF8_STRING

The property is a UTF-8 encoded string.

enumerator WYRD_PT_UINT8

uint8_t

enumerator WYRD_PT_SINT8

int8_t

enumerator WYRD_PT_UINT16

uint16_t

enumerator WYRD_PT_SINT16

int16_t

enumerator WYRD_PT_UINT32

uint32_t

enumerator WYRD_PT_SINT32

int32_t

enumerator WYRD_PT_UINT64

uint64_t

enumerator WYRD_PT_SINT64

int64_t

enumerator WYRD_PT_BOOL

bool

enumerator WYRD_PT_FLOAT

float

enumerator WYRD_PT_DOUBLE

double

enumerator WYRD_PT_CONT_LIST

A list-like container.

enumerator WYRD_PT_CONT_MAP

A key/value map; keys are always UTF-8 strings, values can be any property type.