CompositeMapper

An implementation of a mapper that specifically converts From component To component.

An implementation of a mapper that specifically converts From component To component. It will use inspectors for From and To component to get information about component fields at runtime, and then use accessor and setter implementations to transfer data from one component to another, with optional conversion of data using passed convertors.

Constructors

this
this(PropertySetter!(To, Object) setter, PropertyAccessor!(From, Object) accessor, Inspector!From fromInspector, Inspector!To toInspector)
Undocumented in source.

Members

Functions

map
void map(From from, To to, RCIAllocator allocator)

Map from component to component.

Properties

conversion
Flag!"conversion" conversion [@property setter]

Set conversion

conversion
inout(Flag!"conversion") conversion [@property getter]

Get conversion

convertor
Convertor convertor [@property setter]

Set convertors

convertor
inout(Convertor) convertor [@property getter]

Get convertors

force
Flag!"force" force [@property setter]

Set force

force
inout(Flag!"force") force [@property getter]

Get force

skip
Flag!"skip" skip [@property setter]

Set skip

skip
inout(Flag!"skip") skip [@property getter]

Get skip

Meta