CompositeAccessor

Accessor that allows access to fields and properties of a component of Type.

ImplSpec: The returned field will be erased up to Object class if it is rooted in Object class, or will be placed into a Placeholder!(field type) that is allocated using an allocator. As such it is advised that allocator used in the accessor to be disposable after accessing of components was done. As a consequence no components should point to placeholders allocated by this accessor.

Constructors

this
this()

Default constructor for composite accessor.

Members

Functions

access
Object access(Type component, string property)

Get a property out of component

componentType
TypeInfo componentType(Type component)

Identify the type of supported component.

has
bool has(Type component, string property)

Check if requested property is present in component.

Mixins

__anonymous
mixin AllocatorAwareMixin!(typeof(this))
Undocumented in source.

Meta