ArrayIndexedPropertyAccessor

An accessor that allows accessing of a property and it's childs with array syntax.

An accessor that allows accessing of a property and it's childs with array syntax. ImplSpec: Two accessors are used for getting an indexed property's child. The first one is used for accessing an indexed property of a component, and the second one is used for subsequent access of child components recursively.

Constructors

this
this(EType beggining, EType ending, PropertyAccessor!(ComponentType, FieldType, KeyType) accessor, PropertyAccessor!(ComponentType, FieldType, KeyType) indexer)

Constructor for array indexed accessor

Members

Functions

access
FieldType access(ComponentType component, KeyType path, RCIAllocator allocator)

Get a property out of component

accessor
typeof(this) accessor(PropertyAccessor!(ComponentType, FieldType, KeyType) accessor)

Set accessor

accessor
inout(PropertyAccessor!(ComponentType, FieldType, KeyType)) accessor()

Get accessor

beggining
typeof(this) beggining(EType beggining)

Set beggining

beggining
inout(EType) beggining()

Get beggining

componentType
TypeInfo componentType(ComponentType component)

Identify the type of supported component.

ending
typeof(this) ending(EType ending)

Set ending

ending
inout(EType) ending()

Get ending

has
bool has(ComponentType component, KeyType path, RCIAllocator allocator)

Check if requested property is present in component.

indexer
typeof(this) indexer(PropertyAccessor!(ComponentType, FieldType, KeyType) indexer)

Set indexer

indexer
inout(PropertyAccessor!(ComponentType, FieldType, KeyType)) indexer()

Get indexer

Meta