propertyPathAccessor

An accessor that splits property into chunks using a separator, and recursively queries an accessor for next property from returned child property.

An accessor that splits property into chunks using a separator,and recursively queries an accessor for next property from returned child property. ImplSpec: Since a single accessor is used to fetch subsequent properties, a constraint on property accessors are placed, such as field of a component should be implicitly convertible to component type in order for it to be used to get next child in property chain.

  1. class PropertyPathAccessor(ComponentType, FieldType = ComponentType, KeyType = string)
  2. auto propertyPathAccessor(ElementType!KeyType separator, T accessor)
    propertyPathAccessor
    (
    T : PropertyAccessor!(ComponentType, FieldType, KeyType)
    ComponentType
    FieldType
    KeyType
    )
    (
    ElementType!KeyType separator
    ,)

Meta